Skip to content

Commit

Permalink
Fix goreleaser (#10)
Browse files Browse the repository at this point in the history
* chore: improvide the cert script

Signed-off-by: Kush Trivedi <[email protected]>

* Update goreleaser.yaml

* Update goreleaser.yaml

* Update goreleaser.yaml

* Update goreleaser.yaml

* Update goreleaser.yaml

* Update .goreleaser.yml

Co-authored-by: Kush Trivedi <[email protected]>
  • Loading branch information
kushthedude and Kush Trivedi authored Jul 11, 2020
1 parent 5a79caf commit 55c632e
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 29 deletions.
Binary file added .DS_Store
Binary file not shown.
38 changes: 18 additions & 20 deletions .github/workflows/goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,22 @@ on:
- master

jobs:
goreleaser:
runs-on: ubuntu-latest
build_release:
name: Build & Release
runs-on: macos-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
-
name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.14
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Check out code
uses: actions/checkout@master
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.14
- name: goreleaser with tag
uses: goreleaser/goreleaser-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GR_TOKEN }}
with:
version: latest
args: release --rm-dist --skip-validate
14 changes: 5 additions & 9 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ archives:
format: zip
brews:
-
tap:
github:
owner: nitishm
name: homebrew-engarde
homepage: https://github.com/nitishm/engarde
homepage: https://github.com/kushthedude/engarde

commit_author:
name: Nitish Malhotra
email: [email protected]
name: nitishm
email: [email protected]

folder: Formula

Expand All @@ -56,18 +56,14 @@ snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'

release:
name_template: "Engarde {{.Tag}}"

scoop:
bucket:
owner: nitishm
name: scoop-bucket
name: scoop-bucket-engarde

commit_author:
name: Nitish Malhotra
Expand Down

0 comments on commit 55c632e

Please sign in to comment.