Skip to content

Commit

Permalink
Use ISAR_VERSION variable for publish.sh to be in line with download_…
Browse files Browse the repository at this point in the history
…binaries.sh
  • Loading branch information
Martin Clauss committed Mar 7, 2024
1 parent f0569a3 commit 3137cde
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tool/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
#

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

0 comments on commit 3137cde

Please sign in to comment.