Skip to content

Commit 2f5ff73

Browse files
authored
Fix the ODH release workflow for v0.15 branch (#653)
* Fix the sed text so it looks for the release-latest tag * Remove extra step that printed the old tag
1 parent 3b6d478 commit 2f5ff73

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/odh-create-release-tag.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ jobs:
2222
ref: ${{ github.ref }}
2323
fetch-depth: 0
2424

25-
- name: Get latest tag
26-
id: get_tag
2725
- name: print tag
2826
id: print_tag
2927
run: |
@@ -61,7 +59,7 @@ jobs:
6159

6260
- name: Update params.env with new release version
6361
run: |
64-
sed -i 's|:latest|:${{ github.event.inputs.tag_name }}|gm' config/overlays/odh/params.env
62+
sed -i 's|:v[0-9.]*\b-latest|:${{ github.event.inputs.tag_name }}|gm' config/overlays/odh/params.env
6563
- name: Commit changes
6664
run: |
6765
git config --global user.email "[email protected]"

0 commit comments

Comments
 (0)