-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new gorelease template, github ci workflow, arm64 (#18)
- Loading branch information
1 parent
11856e4
commit 87d18ec
Showing
7 changed files
with
95 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: goreleaser | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
goreleaser: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- | ||
name: Set up Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.19 | ||
- | ||
name: Login to GitHub Container Registry | ||
uses: docker/login-action@v2 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- | ||
name: Run GoReleaser | ||
uses: goreleaser/goreleaser-action@v2 | ||
with: | ||
distribution: goreleaser | ||
version: latest | ||
args: release --rm-dist | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
jplot | ||
dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,46 @@ | ||
project_name: jplot | ||
before: | ||
hooks: | ||
- go mod tidy | ||
- go generate ./... | ||
builds: | ||
- | ||
env: | ||
- CGO_ENABLED=0 | ||
goos: | ||
- darwin | ||
git: | ||
short_hash: true | ||
brew: | ||
github: | ||
owner: rs | ||
name: homebrew-tap | ||
commit_author: | ||
name: Olivier Poitrey | ||
email: [email protected] | ||
homepage: https://github.com/rs/jplot | ||
description: iTerm2 expvar/JSON monitoring tool | ||
- env: | ||
- CGO_ENABLED=0 | ||
goos: | ||
- darwin | ||
goarch: | ||
- amd64 | ||
- arm | ||
- arm64 | ||
goamd64: | ||
- v1 | ||
- v2 | ||
- v3 | ||
universal_binaries: | ||
- | ||
name_template: '{{.ProjectName}}' | ||
checksum: | ||
name_template: 'checksums.txt' | ||
snapshot: | ||
name_template: "{{ incpatch .Version }}_next" | ||
changelog: | ||
sort: asc | ||
filters: | ||
exclude: | ||
- '^docs:' | ||
- '^test:' | ||
brews: | ||
- tap: | ||
owner: rs | ||
name: homebrew-tap | ||
branch: main | ||
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}" | ||
commit_author: | ||
name: Olivier Poitrey | ||
email: [email protected] | ||
homepage: https://github.com/rs/jplot | ||
description: iTerm2 expvar/JSON monitoring tool | ||
|
||
|
||
release: | ||
name_template: "{{.ProjectName}}-v{{.Version}}" | ||
name_template: "{{.ProjectName}}-v{{.Version}}" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,25 @@ | ||
module github.com/rs/jplot | ||
|
||
go 1.14 | ||
go 1.19 | ||
|
||
require ( | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/dustin/go-humanize v1.0.0 | ||
github.com/elgs/gojq v0.0.0-20201120033525-b5293fef2759 | ||
github.com/elgs/gosplitargs v0.0.0-20161028071935-a491c5eeb3c8 // indirect | ||
github.com/kr/pretty v0.1.0 // indirect | ||
github.com/mattn/go-isatty v0.0.14 | ||
github.com/mattn/go-sixel v0.0.1 | ||
github.com/monochromegane/terminal v0.0.0-20161222050454-9bc47e2707d9 | ||
github.com/soniakeys/quant v1.0.0 // indirect | ||
github.com/stretchr/testify v1.7.0 // indirect | ||
github.com/wcharczuk/go-chart/v2 v2.1.0 | ||
golang.org/x/crypto v0.0.0-20211117183948-ae814b36b871 | ||
) | ||
|
||
require ( | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/elgs/gosplitargs v0.0.0-20161028071935-a491c5eeb3c8 // indirect | ||
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // indirect | ||
github.com/soniakeys/quant v1.0.0 // indirect | ||
github.com/stretchr/testify v1.7.0 // indirect | ||
golang.org/x/image v0.0.0-20211028202545-6944b10bf410 // indirect | ||
golang.org/x/sys v0.0.0-20211117180635-dee7805ff2e1 // indirect | ||
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect | ||
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect | ||
gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776 // indirect | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters