mirror of
https://github.com/makew0rld/amfora.git
synced 2024-10-05 18:57:46 +03:00
Merge ae6bdb0208
into 926b77275f
This commit is contained in:
commit
f8ede7fa51
11
.github/workflows/goreleaser.yml
vendored
11
.github/workflows/goreleaser.yml
vendored
@ -24,3 +24,14 @@ jobs:
|
||||
args: release --rm-dist
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GH_REPOS }}
|
||||
- name: Generate release tarball
|
||||
run: |
|
||||
VERSION=${GITHUB_REF_NAME#v}
|
||||
tar czf amfora-${VERSION}.tar.gz --transform "s,^,amfora-${VERSION}/," --exclude dist *
|
||||
- name: Upload release tarball
|
||||
uses: softprops/action-gh-release@master
|
||||
with:
|
||||
files: amfora-*.tar.gz
|
||||
append_body: true
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GH_REPOS }}
|
||||
|
@ -5,7 +5,7 @@ env:
|
||||
|
||||
before:
|
||||
hooks:
|
||||
- go mod download
|
||||
- go mod vendor
|
||||
- go generate ./...
|
||||
|
||||
builds:
|
||||
|
Loading…
Reference in New Issue
Block a user