Skip to content

Commit

Permalink
Attempts to add a GA release script.
Browse files Browse the repository at this point in the history
  • Loading branch information
web3coach committed Jun 5, 2021
1 parent 3219d8f commit 4e21f0d
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 58 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Release TBB binaries

on:
release:
types: [created]

jobs:
releases-matrix:
name: Release Go Binary
runs-on: ubuntu-latest
strategy:
matrix:
# build and publish in parallel: linux/386, linux/amd64, darwin/amd64
goos: [linux, darwin]
goarch: ["386", amd64]
exclude:
- goarch: "386"
goos: darwin
steps:
- uses: actions/checkout@v2
- uses: wangyoucao577/[email protected]
- name: Run tests
run: go test -v -p=1 -timeout=0 ./...
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
project_path: "./cmd/tbb"
binary_name: "tbb"
ldflags: "-s -w"
extra_files: LICENSE README.md
20 changes: 6 additions & 14 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,24 +1,16 @@
module github.com/web3coach/the-blockchain-bar

go 1.13
go 1.16

require (
github.com/VictoriaMetrics/fastcache v1.5.3
github.com/aristanetworks/goarista v0.0.0-20200211191935-58c705f5cf52
github.com/btcsuite/btcd v0.20.1-beta
github.com/aristanetworks/goarista v0.0.0-20200211191935-58c705f5cf52 // indirect
github.com/btcsuite/btcd v0.20.1-beta // indirect
github.com/caddyserver/certmagic v0.11.2
github.com/davecgh/go-spew v1.1.1
github.com/elastic/gosigar v0.10.5
github.com/elastic/gosigar v0.10.5 // indirect
github.com/ethereum/go-ethereum v1.9.10
github.com/go-stack/stack v1.8.0
github.com/golang/snappy v0.0.1
github.com/inconshreveable/mousetrap v1.0.0
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/pborman/uuid v0.0.0-20170112150404-1b00554d8222
github.com/pkg/errors v0.9.1
github.com/spf13/cobra v0.0.3
github.com/spf13/pflag v1.0.3
github.com/steakknife/bloomfilter v0.0.0-20180922174646-6819c0d2a570
github.com/steakknife/hamming v0.0.0-20180906055917-c99c65617cd3
golang.org/x/crypto v0.0.0-20200302210943-78000ba7a073
golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527
github.com/spf13/pflag v1.0.3 // indirect
)
Loading

0 comments on commit 4e21f0d

Please sign in to comment.