Skip to content

Commit

Permalink
Explicitly echo.
Browse files Browse the repository at this point in the history
  • Loading branch information
ogra committed Aug 7, 2024
1 parent a1baaa7 commit 27f271b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/nightly-release-macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,14 @@ jobs:
run: |
old_tag_name=$(git describe --tags --abbrev=0)
echo "old_tag_name=${old_tag_name}" >> $GITHUB_OUTPUT
git tag -d ${{ steps.old-tag.outputs.old_tag_name }}
git push origin :refs/tags/${{ steps.old-tag.outputs.old_tag_name }}
git tag -d $(echo ${{ steps.old-tag.outputs.old_tag_name }})
git push origin :refs/tags/$(echo ${{ steps.old-tag.outputs.old_tag_name }})
- name: Create new tag
run: |
new_tag_name=$(echo ${{ env.old_tag_name }} | sed -E 's/([0-9]+\.[0-9]+\.[0-9]+)-0\.nightly\.([0-9]+)\.([0-9]+)\.([0-9]+)/\1-nightly\2\3\4/')
git tag ${new_tag_name}
git push origin ${new_tag_name}
new_tag_name=$(echo ${{ steps.old-tag.outputs.old_tag_name }} | sed -E 's/([0-9]+\.[0-9]+\.[0-9]+)-0\.nightly\.([0-9]+)\.([0-9]+)\.([0-9]+)/\1-nightly\2\3\4/')
git tag $(echo ${new_tag_name})
git push origin $(echo ${new_tag_name})
# - name: Set up remote cache access
# env:
Expand Down

0 comments on commit 27f271b

Please sign in to comment.