Skip to content

Commit

Permalink
fix: release
Browse files Browse the repository at this point in the history
  • Loading branch information
abernier committed Aug 22, 2024
1 parent e58445c commit 7105026
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ jobs:
- name: Update `vX.Y.Z` + `vX` git tag
run: |
VERSION=${{ needs.vercel-job.outputs.new_release_version }}
MAJOR_VERSION=${{ needs.vercel-job.outputs.new_release_major_version }}
git tag $VERSION
MAJOR_VERSION=${{ needs.vercel-job.outputs.new_release_major_version }}
git tag -fa v$MAJOR_VERSION -m "Update major version tag to v$MAJOR_VERSION"
git push origin v$MAJOR_VERSION --force
Expand All @@ -99,9 +99,6 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}

- name: Build and push Docker image
id: push
Expand Down

0 comments on commit 7105026

Please sign in to comment.