Skip to content

Commit

Permalink
fix update version action (#1075)
Browse files Browse the repository at this point in the history
Signed-off-by: Paul S. Schweigert <paul@paulschweigert.com>

default checkout does not get all tags, which was causing the action to
fail
  • Loading branch information
psschwei authored Nov 3, 2023
1 parent 528cea0 commit 3061446
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/update-component-versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- name: Install helm
shell: bash
run: |
Expand Down Expand Up @@ -44,7 +47,9 @@ jobs:
sed -i "s/tag: \"${OLDNUM}\"/tag: \"${NEWNUM}\"/" charts/quantum-serverless/values.yaml
sed -i "s/tag: \"${OLDNUM}-py39\"/tag: \"${NEWNUM}-py39\"/" charts/quantum-serverless/values.yaml
sed -i "s/ray-node:${OLDNUM}/ray-node:${NEWNUM}/" charts/quantum-serverless/values.yaml
cd charts/quantum-serverless
helm dependency update
cd -
- name: Update client version
shell: bash
run: |
Expand Down

0 comments on commit 3061446

Please sign in to comment.