Skip to content

Commit

Permalink
fix: clean -dirty release on stable release commit hash (aws#3434)
Browse files Browse the repository at this point in the history
  • Loading branch information
bwagner5 authored Feb 21, 2023
1 parent b0112e3 commit bc48d71
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hack/release/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ source "${SCRIPT_DIR}/common.sh"

config
release $HEAD_HASH #release a snapshot version
## Reset changes if it's a snapshot since we don't need to track these changes
## and results in a -dirty commit hash for a stable release
git reset --hard

if [[ $(releaseType $GIT_TAG) == $RELEASE_TYPE_STABLE ]]; then
release $GIT_TAG
Expand Down

0 comments on commit bc48d71

Please sign in to comment.