Skip to content

Commit

Permalink
fix pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
simonrauch committed Mar 11, 2022
1 parent 0856e1d commit 654454b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@ jobs:
steps:
- name: Extract version
id: extract-version
uses: battila7/get-version-action@v2
uses: actions/github-script@v4
with:
script: |
const tag = context.ref.substring(10)
const no_v = tag.replace('v', '')
core.setOutput('version', tag)
core.setOutput('version-without-v', no_v)
- name: Release
id: create-release
uses: actions/create-release@v1
Expand Down

0 comments on commit 654454b

Please sign in to comment.