Skip to content

Commit

Permalink
ci: extract tag name from GITHUB_REF
Browse files Browse the repository at this point in the history
Signed-off-by: Bofu Chen (bafu) <bofu@numbersprotocol.io>
  • Loading branch information
bafu committed Aug 3, 2022
1 parent ac983ef commit ff25dfa
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions .github/workflows/pre-release.yml
Expand Up @@ -19,10 +19,7 @@ jobs:

- name: Get release version
id: version_check
uses: EndBug/version-check@v2
with:
diff-search: true
token: ${{ secrets.GITHUB_TOKEN }}
run: echo ::set-output name=version::${GITHUB_REF/refs\/tags\//}

- name: Build Ionic
env:
Expand Down Expand Up @@ -75,10 +72,7 @@ jobs:

- name: Get release version
id: version_check
uses: EndBug/version-check@v2
with:
diff-search: true
token: ${{ secrets.GITHUB_TOKEN }}
run: echo ::set-output name=version::${GITHUB_REF/refs\/tags\//}

- name: Build Ionic
env:
Expand Down Expand Up @@ -177,10 +171,7 @@ jobs:

- name: Get release version
id: version_check
uses: EndBug/version-check@v2
with:
diff-search: true
token: ${{ secrets.GITHUB_TOKEN }}
run: echo ::set-output name=version::${GITHUB_REF/refs\/tags\//}

- name: Build Ionic
env:
Expand Down Expand Up @@ -220,10 +211,7 @@ jobs:

- name: Get release version
id: version_check
uses: EndBug/version-check@v2
with:
diff-search: true
token: ${{ secrets.GITHUB_TOKEN }}
run: echo ::set-output name=version::${GITHUB_REF/refs\/tags\//}

- name: Build Ionic
env:
Expand Down

0 comments on commit ff25dfa

Please sign in to comment.