Skip to content

Commit

Permalink
try using tags like prod-v55
Browse files Browse the repository at this point in the history
  • Loading branch information
apexearth committed Oct 20, 2024
1 parent 74cc455 commit cb9c88e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Set squid version to prod
on:
push:
tags:
- 'prod'
- 'prod-v*'

jobs:
build_and_publish:
Expand Down Expand Up @@ -30,7 +30,7 @@ jobs:
- name: update squid.yml
run: |
# Get the branch name from GitHub
BRANCH_NAME=${{ github.ref_name }}
VERSION=${GITHUB_REF#refs/tags/prod-}
# Update prod tag
sqd tags add prod --name origin-squid -s $BRANCH_NAME --allow-tag-reassign

0 comments on commit cb9c88e

Please sign in to comment.