Skip to content

Commit 3c1872b

Browse files
committed
feat: update releaser file and workflow
1 parent c7b96ee commit 3c1872b

File tree

2 files changed

+12
-15
lines changed

2 files changed

+12
-15
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,18 @@ jobs:
99
goreleaser:
1010
runs-on: ubuntu-latest
1111
steps:
12-
-
13-
name: Checkout
12+
- name: Checkout
1413
uses: actions/checkout@v2
15-
-
16-
name: Unshallow
14+
- name: Unshallow
1715
run: git fetch --prune --unshallow
18-
-
19-
name: Set up Go
20-
uses: actions/setup-go@v1
16+
- name: Set up Go
17+
uses: actions/setup-go@v2
2118
with:
22-
go-version: 1.16.x
23-
-
24-
name: Run GoReleaser
25-
uses: goreleaser/goreleaser-action@v1
19+
go-version: 1.16
20+
- name: Run GoReleaser
21+
uses: goreleaser/goreleaser-action@v2
2622
with:
2723
version: latest
2824
args: release --rm-dist
2925
env:
30-
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

goreleaser.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,13 @@ changelog:
5151
# Homebrews
5252
brews:
5353
- name: miactl
54-
github:
54+
tap:
5555
owner: mia-platform
5656
name: homebrew-tap
57+
token: "{{ .Env.BOT_GITHUB_TOKEN }}"
5758
commit_author:
58-
name: bot-targa
59-
59+
name: "{{ .Env.BOT_USER }}"
60+
email: "{{ .Env.BOT_USER_EMAIL }}"
6061
folder: Formula
6162
homepage: https://mia-platform.eu
6263
description: miactl is the cli of the mia-platform DevOps Console

0 commit comments

Comments
 (0)