Skip to content

Commit

Permalink
Support tag with date.
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Nov 9, 2023
1 parent 47f4e5e commit 1e7cf5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
run: |
SRS_TAG=${{ needs.env-prod.outputs.SRS_TAG }}
echo "SRS_TAG=$SRS_TAG" >> $GITHUB_ENV
echo "SRS_TAG_DATE=$SRS_TAG$(date +%y-%m-%d)" >> $GITHUB_ENV
echo "SRS_TAG_DATE=${{ needs.envs.outputs.SRS_TAG }}-$(date +%y-%m-%d)" >> $GITHUB_ENV
################################################################
# Git checkout
- name: Checkout repository
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
run: |
SRS_TAG=${{ needs.env-prod.outputs.SRS_TAG }}
echo "SRS_TAG=$SRS_TAG" >> $GITHUB_ENV
echo "SRS_TAG_DATE=$SRS_TAG$(date +%y-%m-%d)" >> $GITHUB_ENV
echo "SRS_TAG_DATE=${{ needs.envs.outputs.SRS_TAG }}-$(date +%y-%m-%d)" >> $GITHUB_ENV
################################################################
# Aliyun ACR
- name: Login aliyun hub
Expand Down

0 comments on commit 1e7cf5e

Please sign in to comment.