From 0bcba4f591c9b26a4b89fcf1dfc62bf9d46a0db8 Mon Sep 17 00:00:00 2001 From: Adam Fidel Date: Mon, 24 Feb 2025 17:30:49 -0600 Subject: [PATCH] fix: goreleaser workflow --- .github/workflows/release.yaml | 16 ++++++---------- Justfile | 4 ++++ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 4139ac9..7d39b65 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -14,17 +14,13 @@ jobs: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@v4 - with: - go-version: '1.24' + uses: actions/setup-go@v5 - - name: Install goreleaser - uses: goreleaser/goreleaser-action@v4 + - name: Run GoReleaser + uses: goreleaser/goreleaser-action@v6 with: + distribution: goreleaser version: 'latest' - - - name: Run goreleaser + args: release --clean env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Required for GitHub releases - run: | - goreleaser release + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/Justfile b/Justfile index cb25677..53f54a8 100644 --- a/Justfile +++ b/Justfile @@ -4,6 +4,10 @@ build: go build -o build/xfconf-profile release version="0.2.0": + git tag v{{version}} + git push origin v{{version}} + +release-local version="0.2.0": #!/bin/bash . .env git tag v{{version}}