Skip to content

Commit cb9c88e

Browse files
committed
try using tags like prod-v55
1 parent 74cc455 commit cb9c88e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release-prod.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Set squid version to prod
22
on:
33
push:
44
tags:
5-
- 'prod'
5+
- 'prod-v*'
66

77
jobs:
88
build_and_publish:
@@ -30,7 +30,7 @@ jobs:
3030
- name: update squid.yml
3131
run: |
3232
# Get the branch name from GitHub
33-
BRANCH_NAME=${{ github.ref_name }}
33+
VERSION=${GITHUB_REF#refs/tags/prod-}
3434
3535
# Update prod tag
3636
sqd tags add prod --name origin-squid -s $BRANCH_NAME --allow-tag-reassign

0 commit comments

Comments
 (0)