From 2997066b81121f557a46eefdb7e792e8cf9c3493 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Kuffel?= Date: Sun, 7 Nov 2021 17:35:06 +0100 Subject: [PATCH 1/2] ci: build release binaries --- .github/workflows/release.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..94c8119 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,20 @@ +on: + release: + types: [created] + +jobs: + release-linux-amd64: + name: release linux/amd64 + runs-on: ubuntu-latest + strategy: + matrix: + goos: [linux, windows, darwin] + goarch: [amd64] + steps: + - uses: actions/checkout@v2 + - uses: wangyoucao577/go-release-action@v1.20 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + goos: ${{ matrix.goos }} + goarch: ${{ matrix.goarch }} + goversion: "1.15" \ No newline at end of file From c500cfbfa3ced5a74e4528c951aa5396ebe2e154 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Kuffel?= Date: Sun, 7 Nov 2021 17:37:01 +0100 Subject: [PATCH 2/2] chore: bump gocannon version --- CITATION.cff | 2 +- args.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CITATION.cff b/CITATION.cff index 08bbb28..1387c54 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -6,4 +6,4 @@ license: "Apache-2.0" message: "Please use the following citation metadata." repository-code: "https://github.com/kffl/gocannon" title: "Gocannon - Performance-focused HTTP benchmarking tool" -version: "0.0.1" +version: "0.1.0" diff --git a/args.go b/args.go index ecd510a..911e02e 100644 --- a/args.go +++ b/args.go @@ -94,6 +94,6 @@ var ( ) func parseArgs() { - kingpin.Version("0.0.1") + kingpin.Version("0.1.0") kingpin.Parse() }