Skip to content

Commit

Permalink
feat: update releaser file and workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
davidebianchi committed Jun 22, 2021
1 parent c7b96ee commit 3c1872b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 15 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,18 @@ jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
-
name: Checkout
- name: Checkout
uses: actions/checkout@v2
-
name: Unshallow
- name: Unshallow
run: git fetch --prune --unshallow
-
name: Set up Go
uses: actions/setup-go@v1
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16.x
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v1
go-version: 1.16
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7 changes: 4 additions & 3 deletions goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,13 @@ changelog:
# Homebrews
brews:
- name: miactl
github:
tap:
owner: mia-platform
name: homebrew-tap
token: "{{ .Env.BOT_GITHUB_TOKEN }}"
commit_author:
name: bot-targa
email: [email protected]
name: "{{ .Env.BOT_USER }}"
email: "{{ .Env.BOT_USER_EMAIL }}"
folder: Formula
homepage: https://mia-platform.eu
description: miactl is the cli of the mia-platform DevOps Console
Expand Down

0 comments on commit 3c1872b

Please sign in to comment.