Skip to content

Commit

Permalink
Fix deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
cottinisimone committed Jun 20, 2022
1 parent ea0ad38 commit e36f126
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/build
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export ENV=$1
export AWS_DEFAULT_REGION="eu-west-1"
export VERSION="${DRONE_TAG:-$DRONE_COMMIT_SHA}"

version=$(grep -m1 version Cargo.toml | cut -d'"' -f2)
version=$(grep -m1 '^version' Cargo.toml | cut -d'"' -f2)

if [[ "$DRONE_TAG" != "$version" ]]; then
echo "Package version $version does not match release version $DRONE_TAG"
Expand Down

0 comments on commit e36f126

Please sign in to comment.