Skip to content

Commit

Permalink
fix: temp path filters
Browse files Browse the repository at this point in the history
  • Loading branch information
lzpap committed Oct 16, 2024
1 parent 3ee37d7 commit ad6abf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
- name: Clean up and validate ${{ env.TAG_NAME }} tag name
shell: bash
run: |
export iota_tag=$(echo ${{ env.TAG_NAME }} | sed s/'refs\/tags\/'//)
export iota_tag=$(echo ${{ env.TAG_NAME }} | sed s/'refs\/tags\/'// | sed s/'refs\/heads\/'// | sed s/'sc-platform\/'//)
[[ "${iota_tag}" == "develop" ]] && echo "tag cannot be equal to 'develop'" && exit 1
echo "iota_tag=${iota_tag}" >> $GITHUB_ENV
export iota_version=$(echo ${iota_tag} | sed -e 's/mainnet-v//' -e 's/testnet-v//')
Expand Down

0 comments on commit ad6abf7

Please sign in to comment.