Skip to content

Commit

Permalink
Merge pull request #14 from kffl/ci/release-binaries
Browse files Browse the repository at this point in the history
GitHub Action to automatically build and publish release binaries
  • Loading branch information
kffl authored Nov 7, 2021
2 parents cf82d8a + c500cfb commit e592beb
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -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"
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion args.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,6 @@ var (
)

func parseArgs() {
kingpin.Version("0.0.1")
kingpin.Version("0.1.0")
kingpin.Parse()
}

0 comments on commit e592beb

Please sign in to comment.