Skip to content

Commit

Permalink
Tag release with commit hash of the tip of current branch (#42)
Browse files Browse the repository at this point in the history
At present, the tip of the default branch is tagged with the release.
This is not ideal if we want to make releases out of non-default
branches. Use the current commit ID as the input when invoking `cr
upload` so that the releases are tagged correctly.

Signed-off-by: Bharat Kunwar <bharat@stackhpc.com>
  • Loading branch information
brtkwr authored Sep 25, 2020
1 parent 74d7022 commit 06d81fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ package_chart() {

release_charts() {
echo 'Releasing charts...'
cr upload -o "$owner" -r "$repo"
cr upload -o "$owner" -r "$repo" -c "$(git rev-parse HEAD)"
}

update_index() {
Expand Down

0 comments on commit 06d81fa

Please # to comment.