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}}