diff options
author | Ayke van Laethem <[email protected]> | 2023-09-28 15:42:50 +0200 |
---|---|---|
committer | Ron Evans <[email protected]> | 2023-10-04 16:20:32 +0200 |
commit | 5cd8ba242157d552d3104ce09d06c5418c52eab4 (patch) | |
tree | 8015fe84aa58fe4b7a8ddcb1e093491502b60ccf /GNUmakefile | |
parent | 2320b18953e925fc6c79347f3fcc94b5b9f77885 (diff) | |
download | tinygo-5cd8ba242157d552d3104ce09d06c5418c52eab4.tar.gz tinygo-5cd8ba242157d552d3104ce09d06c5418c52eab4.zip |
all: refactor goenv.Version to add the git sha1 if needed
Previously all (except one!) usage of goenv.Version manually added the
git sha1 hash, leading to duplicate code. I've moved this to do it all
in one place, to avoid this duplication.
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile index a00eee1f9..bd597917d 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -878,7 +878,7 @@ deb: @mkdir -p build/release-deb/usr/local/lib cp -ar build/release/tinygo build/release-deb/usr/local/lib/tinygo ln -sf ../lib/tinygo/bin/tinygo build/release-deb/usr/local/bin/tinygo - fpm -f -s dir -t deb -n tinygo -a $(DEB_ARCH) -v $(shell grep "const Version = " goenv/version.go | awk '{print $$NF}') -m '@tinygo-org' --description='TinyGo is a Go compiler for small places.' --license='BSD 3-Clause' --url=https://tinygo.org/ --deb-changelog CHANGELOG.md -p build/release.deb -C ./build/release-deb + fpm -f -s dir -t deb -n tinygo -a $(DEB_ARCH) -v $(shell grep "const version = " goenv/version.go | awk '{print $$NF}') -m '@tinygo-org' --description='TinyGo is a Go compiler for small places.' --license='BSD 3-Clause' --url=https://tinygo.org/ --deb-changelog CHANGELOG.md -p build/release.deb -C ./build/release-deb ifneq ($(RELEASEONLY), 1) release: build/release |