Skip to content

Commit

Permalink
updated gorleaser and release
Browse files Browse the repository at this point in the history
  • Loading branch information
6missedcalls committed Oct 13, 2022
1 parent 5cb7c23 commit 4034755
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 15 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,12 @@ jobs:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
with:
distribution: goreleaser
version: latest
args: build --rm-dist --id darwin-build
- name: Upload Release Artifacts
uses: actions/upload-artifact@v2
with:
name: goreleaser
path: dist/
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.ACTIONS_GH_TOKEN }}
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
15 changes: 8 additions & 7 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ before:
- go mod tidy
# you may remove this if you don't need go generate
- go generate ./...
- task build:ui:prod
- npm install
- npm run build:embed
builds:
- id: linux-build
binary: speedway
Expand Down Expand Up @@ -38,9 +39,9 @@ changelog:
exclude:
- "^docs:"
- "^test:"
brews:
- name: speedway
tap:
owner: sonr-io
name: tap
folder: Formula
# brews:
# - name: speedway
# tap:
# owner: sonr-io
# name: tap
# folder: Formula
Binary file removed speedway
Binary file not shown.

0 comments on commit 4034755

Please sign in to comment.