Skip to content

Commit

Permalink
v0.6.9 release
Browse files Browse the repository at this point in the history
  • Loading branch information
dreadl0ck committed Jan 22, 2022
1 parent 33fd3ac commit 503f79c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
4 changes: 2 additions & 2 deletions version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
package netcap

// Version is the current version identifier for netcap.
var Version = "v0.6.8"
var Version = "v0.6.9"

// Commit is the git commit id of the current version.
var Commit = "cb165e72a8f926b780974163d0df2f5c1b99116f"
var Commit = "33fd3ac3e097cc163e1d7ae82b9e7e6e2ae601c9"
13 changes: 6 additions & 7 deletions zeus/commands.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ language: bash
# globals for all commands
globals:
# NETCAP version
VERSION: 0.6.8
VERSION: 0.6.9

# command data
commands:
Expand Down Expand Up @@ -117,29 +117,28 @@ commands:

update-release-assets:
exec: |
# upload linux build archives
for f in dist-linux/*.tar.gz; do
gh release upload --clobber v$VERSION $f
done
cd dist
# create correct darwin archives
# add nodpi darwin build - the build with dpi libs will be used untouched
# TODO: fix goreleaser config
tar -czvf netcap_nodpi_v${VERSION}_darwin_amd64.tar.gz netcap_macOS_nodpi_darwin_amd64
tar -czvf netcap_${VERSION}_darwin_amd64.tar.gz netcap_darwin_amd64
# upload
# upload nodpi darwin build to release
gh release upload --clobber v$VERSION netcap_nodpi_v${VERSION}_darwin_amd64.tar.gz
gh release upload --clobber v$VERSION netcap_${VERSION}_darwin_amd64.tar.gz
# update checksums file
# update checksums file with hashes for darwin build
shasum -a 256 netcap_nodpi_v${VERSION}_darwin_amd64.tar.gz >> ../dist-linux/checksums.txt
shasum -a 256 netcap_${VERSION}_darwin_amd64.tar.gz >> ../dist-linux/checksums.txt
cd ..
# append hash of windows build to final checksum file
grep windows dist/checksums.txt >> dist-linux/checksums.txt
# sync
# sync updated checksums file
gh release upload --clobber v$VERSION dist-linux/checksums.txt
# run a test release
Expand Down

0 comments on commit 503f79c

Please sign in to comment.