diff --git a/.gitignore b/.gitignore index 6f883023..1f79aa73 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +dist-linux analyze/dnn/models/ analyze/dnn/checkpoints/ test-params/ @@ -34,4 +35,4 @@ FlameGraph Dockerfile bin/ cover.out -deploy.sh \ No newline at end of file +deploy.sh diff --git a/.goreleaser.yml b/.goreleaser.yml index 1e634236..4d479ba5 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -13,6 +13,8 @@ builds: id: netcap_macOS_nodpi goos: - darwin + goarch: + - amd64 ldflags: - "" flags: @@ -57,8 +59,6 @@ archives: - types/rust/* - types/swift/* - types/netcap.pb.go - # Disables the binary count check - TODO add multiple archives - #allow_different_binary_count: true - id: "netcap_macOS_nodpi" builds: [ 'netcap_macOS_nodpi' ] files: @@ -72,8 +72,6 @@ archives: - types/rust/* - types/swift/* - types/netcap.pb.go - # Disables the binary count check - TODO add multiple archives - #allow_different_binary_count: true - id: "netcap_nodpi" builds: [ 'netcap_nodpi' ] files: @@ -87,10 +85,8 @@ archives: - types/rust/* - types/swift/* - types/netcap.pb.go - # Disables the binary count check - TODO add multiple archives - #allow_different_binary_count: true -#nfpms: + #nfpms: # - # id: "netcap" # builds: ['netcap'] diff --git a/version.go b/version.go index ddf9cf98..08086f59 100644 --- a/version.go +++ b/version.go @@ -5,4 +5,4 @@ package netcap var Version = "v0.6.2" // Commit is the git commit id of the current version. -var Commit = "2f7bd16d983b872a82af2ec8f6e14bef297830b8" +var Commit = "3eaedc9ad368f2497ef0237b155d9621b58d8d9e" diff --git a/zeus/commands.yml b/zeus/commands.yml index f497634d..4fc6eb68 100644 --- a/zeus/commands.yml +++ b/zeus/commands.yml @@ -13,7 +13,7 @@ language: bash # globals for all commands globals: # NETCAP version - VERSION: 0.6.2 + VERSION: 0.6.3 # command data commands: @@ -108,8 +108,21 @@ commands: - gen-proto-release - build-linux - build-linux-nodpi + - run-goreleaser + - update-release-assets + exec: echo "release v$VERSION done" + + run-goreleaser: exec: goreleaser check && goreleaser release --skip-validate + update-release-assets: + exec: | + for f in dist-linux/*.tar.gz; do + gh release upload --clobber v$VERSION $f + done + cp dist-linux/checksums.txt dist-linux/checksums-linux.txt + gh release upload --clobber v$VERSION dist-linux/checksums-linux.txt + # run a test release release-test: description: test run to release a new version