Skip to content

Commit

Permalink
Another fix for publish rc (#4099)
Browse files Browse the repository at this point in the history
  • Loading branch information
wemeetagain committed Jun 1, 2022
1 parent d46ea7b commit 3e6e4d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-rc.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish release
name: Publish release candidate

# only one can tun at a time
concurrency: cd-publish-rc
Expand Down
2 changes: 1 addition & 1 deletion scripts/release/assert_valid_rc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ else
fi

# assert it exists in branch
HEAD_COMMIT=$(git rev-parse refs/heads/$RC_BRANCH)
HEAD_COMMIT=$(git rev-parse refs/remotes/origin/$RC_BRANCH)
git merge-base --is-ancestor $COMMIT $HEAD_COMMIT

# success
Expand Down

0 comments on commit 3e6e4d2

Please sign in to comment.