Skip to content

Commit

Permalink
fix: manual trigger fix (#1398)
Browse files Browse the repository at this point in the history
  • Loading branch information
davenewza authored Feb 5, 2024
1 parent 4239a93 commit 3655de1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,12 @@ jobs:
then
echo "Set branch to ${{ inputs.branch }} for manual trigger"
echo "BRANCH=${{ inputs.branch }}" >> $GITHUB_ENV
else if ${{ github.event_name == 'push' }}
echo "Set branch to ${{ github.ref_name }} for push trigger"
echo "BRANCH=${{ github.ref_name }}" >> $GITHUB_ENV
elif ${{ github.event_name == 'push' }}
then
echo "Set branch to ${{ github.ref_name }} for push trigger"
echo "BRANCH=${{ github.ref_name }}" >> $GITHUB_ENV
else
echo "Unhandled trigger"
fi
semantic-release:
Expand Down

0 comments on commit 3655de1

Please sign in to comment.