Skip to content

Commit

Permalink
cd script update
Browse files Browse the repository at this point in the history
  • Loading branch information
2beens committed Apr 22, 2024
1 parent 6192a66 commit 7788830
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/new-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
run: |
if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
REF_NAME=$(echo ${GITHUB_REF#refs/heads/} | sed 's/\//-/g')
# if master branch, then use 'latest' tag
[[ "$REF_NAME" == "master" ]] && REF_NAME='latest'
elif [[ "${{ github.event_name }}" == "release" ]]; then
REF_NAME=${GITHUB_REF#refs/tags/}
fi
Expand Down

0 comments on commit 7788830

Please sign in to comment.