Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 16 additions & 4 deletions .github/workflows/build-release.yaml
Original file line numberDiff line numberDiff line change
Expand Up@@ -14,6 +14,8 @@ jobs:
steps:
- name: Repo checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Bump version and push tag
id: bump
Expand All@@ -22,8 +24,18 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
release_branches: main

- name: Release tag
uses: ncipollo/release-action@v1
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: 1.24.x

Comment thread
fizikiukas marked this conversation as resolved.
- name: Run GoReleaser
if: steps.bump.outputs.new_tag != ''
uses: goreleaser/goreleaser-action@v6
with:
tag: ${{ steps.bump.outputs.new_tag }}
generateReleaseNotes: true
distribution: goreleaser
version: "~> v2"
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GORELEASER_CURRENT_TAG: ${{ steps.bump.outputs.new_tag }}
Comment thread
fizikiukas marked this conversation as resolved.