commit 751c4b7b2ea003b818110cc844d5d81905a1f6ea parent 7623452aeaebe348d9ae9b053005b9def7319dd6 Author: Sean Enck <sean@ttypty.com> Date: Thu, 24 Jul 2025 20:44:16 -0400 re-add releaser Diffstat:
| A | .github/workflows/release.yml | | | 25 | +++++++++++++++++++++++++ |
| A | .goreleaser.yml | | | 22 | ++++++++++++++++++++++ |
2 files changed, 47 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml @@ -0,0 +1,25 @@ +name: release + +on: + push: + tags: + - '*' + +jobs: + goreleaser: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - uses: actions/setup-go@v5 + with: + go-version: 1.24 + - name: run + uses: goreleaser/goreleaser-action@v6 + with: + distribution: goreleaser + version: latest + args: release --clean + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.goreleaser.yml b/.goreleaser.yml @@ -0,0 +1,22 @@ +project_name: lockbox +builds: + - main: cmd/main.go + env: + - CGO_ENABLED=0 + binary: lb + goos: + - linux + - darwin + goarch: + - amd64 + - arm64 + flags: + - -trimpath + +archives: + - name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}" + format: tar.gz + files: + - none* +checksum: + name_template: "{{ .ProjectName }}-{{ .Version }}-checksums.txt"