Skip to content

Commit

Permalink
Fix release action
Browse files Browse the repository at this point in the history
  • Loading branch information
rehan-fr authored Dec 10, 2024
1 parent 4c12bd9 commit 8001775
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/actions/github-actions/release-action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ runs:
branch_name=$(echo $info | jq -r '.branch_name')
action_path=$(echo $info | jq -r '.action_path')
release_type=$(echo $info | jq -r '.release_type')
if ! git rev-parse --quiet --verify $version; then
if ! git rev-parse --quiet --verify refs/heads/$version; then
if ! git ls-remote --heads origin $version | grep -q $version; then
git checkout ${{ inputs.base_branch }}
git pull
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ At UPSIDER, we have a few internal repositories set up with a monorepo structure

We are looking to add a few more features, such as extra signoff from non-coder, label based check, etc.

<sup><sub>NOTES:
<sup><sub>NOTE:
<sup>(\*1)</sup> There are some other hacks, such as using an empty job with the same name to override the status, but those solutions do not provide the flexible control we are after.</sub></sup>

<!-- == imptr: background / end == -->
Expand Down

0 comments on commit 8001775

Please sign in to comment.