diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index a5ccb6c8..ee2bf0f2 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -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