Skip to content

Commit

Permalink
fix: Improper syntax for test in tag workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gmpinder committed Jan 27, 2024
1 parent c4bf521 commit 67f2d34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ jobs:
run: |
LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
CARGO_PACKAGE_VERSION="v$(tomlq '.package.version' $PWD/Cargo.toml | sed 's/\"//g')"
LATEST=$(test $CARGO_PACKAGE_VERSION == $LATEST_TAG && echo true || echo false)
LATEST=$(test "$CARGO_PACKAGE_VERSION" = "$LATEST_TAG" && echo true || echo false)
earthly --push --ci -P +all --TAG=$LATEST_TAG --LATEST=$LATEST

0 comments on commit 67f2d34

Please sign in to comment.