Skip to content

Commit

Permalink
To make github changes to VERSION only happen when releases published
Browse files Browse the repository at this point in the history
Signed-off-by: LiZhenCheng9527 <[email protected]>
  • Loading branch information
LiZhenCheng9527 committed Jan 14, 2025
1 parent 1fa7f2f commit aaeec7c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ jobs:
echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
- name: change kmesh version
if: github.event_name == 'release' && github.event.action == 'published'
env:
VERSION: ${{ github.ref_name }}
run: make update-version UPDATE_VERSION=${{ github.ref_name }}

- name: Docker meta
id: meta
uses: docker/metadata-action@v5
Expand Down

0 comments on commit aaeec7c

Please sign in to comment.