Skip to content

Commit

Permalink
fix<ci>: use smaller release tag
Browse files Browse the repository at this point in the history
  • Loading branch information
vmfunc committed Oct 12, 2024
1 parent d6645fa commit 2c30883
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,17 @@ jobs:
- name: Build for Linux
run: GOOS=linux GOARCH=amd64 go build -o sif-linux-amd64 ./cmd/sif

- name: Set release version
run: echo "RELEASE_VERSION=$(date +'%Y.%m.%d')" >> $GITHUB_ENV

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.sha }}
release_name: Release ${{ github.sha }}
tag_name: v${{ env.RELEASE_VERSION }}
release_name: Release ${{ env.RELEASE_VERSION }}
draft: false
prerelease: false

Expand Down

0 comments on commit 2c30883

Please sign in to comment.