We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccb9ad9 commit ed35ee0Copy full SHA for ed35ee0
.github/workflows/release.yaml
@@ -31,11 +31,13 @@ jobs:
31
git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
32
- name: Update tag with parameter
33
if: github.event.inputs.tag != ''
34
+ env:
35
+ TAG: ${{ inputs.tag }}
36
run: |
- git tag --delete ${{ inputs.tag }} || true
- git push --delete origin ${{ inputs.tag }} || true
37
- git tag -a ${{ inputs.tag }} -m 'Retag ${{ inputs.tag }}'
38
- git push origin ${{ inputs.tag }}
+ git tag --delete "$TAG" || true
+ git push --delete origin "$TAG" || true
39
+ git tag -a "$TAG" -m "Retag $TAG"
40
+ git push origin "$TAG"
41
- name: Update tag to v2
42
if: github.event.inputs.tag == ''
43
0 commit comments