Skip to content

Commit

Permalink
Merge pull request #196 from CyberTailor/master
Browse files Browse the repository at this point in the history
CI: Generate release tarballs with vendored modules
  • Loading branch information
noborus authored Jun 16, 2022
2 parents a9bbd4d + 24fca21 commit f29cc5b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,14 @@ jobs:
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
- name: Generate release tarball
run: |
VERSION=${GITHUB_REF_NAME#v}
tar czf ov-${VERSION}.tar.gz --transform "s,^,ov-${VERSION}/," --exclude dist *
- name: Upload release tarball
uses: softprops/action-gh-release@master
with:
files: ov-*.tar.gz
append_body: true
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
before:
hooks:
- go mod tidy
- go mod vendor
builds:
-
id: ov-linux
Expand Down

0 comments on commit f29cc5b

Please sign in to comment.