mirror of
https://github.com/pushbits/server.git
synced 2025-06-17 01:51:59 +02:00
Merge pull request #46 from pushbits/goreleaser
Add configuration for GoReleaser
This commit is contained in:
commit
36e8cb1ff5
2 changed files with 28 additions and 0 deletions
9
.github/workflows/publish.yml
vendored
9
.github/workflows/publish.yml
vendored
|
@ -58,3 +58,12 @@ jobs:
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
|
||||||
|
- name: Run GoReleaser
|
||||||
|
uses: goreleaser/goreleaser-action@v2
|
||||||
|
with:
|
||||||
|
distribution: goreleaser
|
||||||
|
version: latest
|
||||||
|
args: release --rm-dist
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
19
.goreleaser.yml
Normal file
19
.goreleaser.yml
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
builds:
|
||||||
|
- id: pushbits
|
||||||
|
main: ./cmd/pushbits
|
||||||
|
goos:
|
||||||
|
- linux
|
||||||
|
goarch:
|
||||||
|
- amd64
|
||||||
|
- 386
|
||||||
|
- arm
|
||||||
|
- arm64
|
||||||
|
|
||||||
|
checksum:
|
||||||
|
algorithm: sha256
|
||||||
|
|
||||||
|
archives:
|
||||||
|
- id: pushbits
|
||||||
|
builds:
|
||||||
|
- pushbits
|
||||||
|
format: tar.gz
|
Loading…
Add table
Add a link
Reference in a new issue