Skip to content

Commit

Permalink
Fix flyteidl release checkout all tags (#5646)
Browse files Browse the repository at this point in the history
* Fetch all tags in flyteidl-release.yml

Signed-off-by: Eduardo Apolinario <[email protected]>

* Fix sed expression for npm job

Signed-off-by: Eduardo Apolinario <[email protected]>

---------

Signed-off-by: Eduardo Apolinario <[email protected]>
Co-authored-by: Eduardo Apolinario <[email protected]>
  • Loading branch information
eapolinario and eapolinario authored Aug 8, 2024
1 parent 1de1b50 commit 52322d0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/flyteidl-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
working-directory: flyteidl
steps:
- uses: actions/checkout@v4
with:
fetch-depth: '0'
- name: Set up Python
uses: actions/setup-python@v1
with:
Expand Down Expand Up @@ -64,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 $GITHUB_REF | 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 52322d0

Please sign in to comment.