Skip to content

Commit 3137cde

Browse files
author
Martin Clauss
committed
Use ISAR_VERSION variable for publish.sh to be in line with download_binaries.sh
1 parent f0569a3 commit 3137cde

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tool/publish.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
#
77

88
set -o errexit
9-
if [ "$TAG" == "" ]; then
10-
echo "Define TAG to use"
9+
if [ "$ISAR_VERSION" == "" ]; then
10+
echo "Define ISAR_VERSION to specify which release to publish.sh"
1111
exit 1
1212
fi
13-
find . -type f -exec sed -i "s/0.0.0-placeholder/$TAG/g" {} +
13+
find . -type f -exec sed -i "s/0.0.0-placeholder/$ISAR_VERSION/g" {} +
1414
pushd packages/isar
1515
dart pub get
1616
popd

0 commit comments

Comments
 (0)