Skip to content

Commit

Permalink
Fix sed expression for npm job
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Apolinario <[email protected]>
  • Loading branch information
eapolinario committed Aug 8, 2024
1 parent 72f2adc commit 6a3f0c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/flyteidl-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ jobs:
registry-url: "https://registry.npmjs.org"
- name: Set version in npm package
run: |
# from refs/tags/v1.2.3 get 1.2.3
VERSION=$(echo ${{ inputs.version }} | sed 's#.*/v##')
# v1.2.3 get 1.2.3
VERSION=$(echo ${{ inputs.version }} | sed 's#.*v##')
VERSION=$VERSION make update_npmversion
shell: bash
- run: |
Expand Down

0 comments on commit 6a3f0c6

Please sign in to comment.