This commit is contained in:
Anna 2023-12-21 13:08:54 -07:00 committed by GitHub
commit f8ede7fa51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 1 deletions

View File

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

View File

@ -5,7 +5,7 @@ env:
before:
hooks:
- go mod download
- go mod vendor
- go generate ./...
builds: