Skip to content

Commit

Permalink
fix: fixes release problem where go release detects git dirty (#2917)
Browse files Browse the repository at this point in the history
  • Loading branch information
fmenezes committed May 1, 2024
1 parent 4a4a018 commit 3db073e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/package/package.sh
Expand Up @@ -27,7 +27,7 @@ export VERSION_GIT

echo "$GITHUB_APP_PEM" > app.pem
GITHUB_TOKEN="$(go run ./tools/github-token -pem app.pem -app_id "$GITHUB_APP_ID" -owner 'mongodb' -repo 'mongodb-atlas-cli')"

rm -rf app.pem
export GITHUB_TOKEN

VERSION_GIT="$(git tag --list "atlascli/v*" --sort=taggerdate | tail -1 | cut -d "v" -f 2)"
Expand Down

0 comments on commit 3db073e

Please sign in to comment.