File tree 3 files changed +5
-4
lines changed
3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "." : " 0.13 .0"
2
+ "." : " 0.12 .0"
3
3
}
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ BINDIR ?= $(PREFIX)/bin
14
14
BINARY = $(addprefix bin/,finch-daemon)
15
15
16
16
PACKAGE := github.com/runfinch/finch-daemon
17
- VERSION : = $(shell git describe --match 'v[0-9]* ' --dirty='.modified' --always --tags)
17
+ VERSION ? = $(shell git describe --match 'v[0-9]* ' --dirty='.modified' --always --tags)
18
18
GITCOMMIT := $(shell git rev-parse HEAD)$(shell if ! git diff --no-ext-diff --quiet --exit-code; then echo .m; fi)
19
19
20
20
ifndef GODEBUG
Original file line number Diff line number Diff line change @@ -56,14 +56,15 @@ release_version=${1/v/} # Remove v from tag name
56
56
dynamic_binary_name=finch-daemon-${release_version} -linux-${ARCH} .tar.gz
57
57
static_binary_name=finch-daemon-${release_version} -linux-${ARCH} -static.tar.gz
58
58
59
- make build
59
+ VERSION=" $1 "
60
+ make VERSION=" $VERSION " build
60
61
cp " $LICENSE_FILE " " ${OUT_DIR} "
61
62
pushd " $OUT_DIR "
62
63
tar -czvf " $RELEASE_DIR " /" $dynamic_binary_name " -- *
63
64
popd
64
65
rm -rf " {$OUT_DIR :?}" /*
65
66
66
- STATIC=1 make build
67
+ STATIC=1 make VERSION= " $VERSION " build
67
68
cp " $LICENSE_FILE " " ${OUT_DIR} "
68
69
pushd " $OUT_DIR "
69
70
tar -czvf " $RELEASE_DIR " /" $static_binary_name " -- *
You can’t perform that action at this time.
0 commit comments