Skip to content

Commit 0cf777b

Browse files
authored
[CI/CD] Fix issue on Python release pipeline (#1876)
Fixes the issue on https://github.com/AcademySoftwareFoundation/OpenCue/actions/runs/17505912343/job/49729279582
1 parent d7f51b5 commit 0cf777b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release-pipeline.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
run: git config --global --add safe.directory $GITHUB_WORKSPACE
3131

3232
- name: Get current tag name
33-
run: echo "TAG_NAME=${GITHUB_REF/refs\/tags\//}" >> ${GITHUB_ENV}
33+
run: echo "TAG_NAME=${GITHUB_REF#refs/tags/}" >> ${GITHUB_ENV}
3434

3535
- name: Verify tag name and version match
3636
run: |
@@ -79,7 +79,7 @@ jobs:
7979
run: git config --global --add safe.directory $GITHUB_WORKSPACE
8080

8181
- name: Get current tag name
82-
run: echo "TAG_NAME=${GITHUB_REF/refs\/tags\//}" >> ${GITHUB_ENV}
82+
run: echo "TAG_NAME=${GITHUB_REF#refs/tags/}" >> ${GITHUB_ENV}
8383

8484
- name: Verify tag name and version match
8585
run: |
@@ -186,7 +186,7 @@ jobs:
186186
echo "BUILD_ID=$(ci/generate_version_number.py)" >> ${GITHUB_ENV}
187187
188188
- name: Get current tag name
189-
run: echo "TAG_NAME=${GITHUB_REF/refs\/tags\//}" >> ${GITHUB_ENV}
189+
run: echo "TAG_NAME=${GITHUB_REF#refs/tags/}" >> ${GITHUB_ENV}
190190

191191
- name: Verify tag name and version match
192192
run: |

0 commit comments

Comments
 (0)