commit ec2b5eeeb989461699ba9cf20f2e32bcf3f6ce92 parent 4ab17e4f0a44136d45ec4306772ba3edcdc95cdc Author: Sean Enck <sean@ttypty.com> Date: Sat, 29 Jul 2023 10:47:25 -0400 goreleaser activities Diffstat:
| A | .github/workflows/release.yml | | | 27 | +++++++++++++++++++++++++++ |
| A | .goreleaser.yml | | | 25 | +++++++++++++++++++++++++ |
2 files changed, 52 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml @@ -0,0 +1,27 @@ +name: release + +on: + push: + tags: + - '*' + +jobs: + goreleaser: + runs-on: ubuntu-latest + steps: + - name: checkout + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - + name: go + uses: actions/setup-go@v2 + with: + go-version: 1.19 + - name: run + uses: goreleaser/goreleaser-action@v2 + with: + version: latest + args: release --rm-dist + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.goreleaser.yml b/.goreleaser.yml @@ -0,0 +1,25 @@ +archives: + - + replacements: + amd64: x86_64 + darwin: Darwin + linux: Linux +before: + hooks: + - "go mod download" +builds: + - + env: + - CGO_ENABLED=0 + - BUILDER=GoReleaser + goos: + - linux + - darwin + +changelog: + sort: asc +checksum: + name_template: checksums.txt +snapshot: + name_template: "{{ .Tag }}-next" +project_name: lockbox