Skip to content

Commit a9c359a

Browse files
committed
tools/cross-compile.sh: Make VERSION configurable
1 parent 1fae584 commit a9c359a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tools/cross-compile.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22

33
set -e
44

5-
VERSION="$(go run tools/build-version.go)"
5+
VERSION="$1"
6+
if [ -z "$VERSION" ]; then
7+
VERSION="$(go run tools/build-version.go)"
8+
fi
69

710
mkdir -p binaries
811
mkdir -p micro-$VERSION

0 commit comments

Comments
 (0)