Skip to content

Commit da412b9

Browse files
committed
fix: goreleaser
1 parent 00c6578 commit da412b9

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ jobs:
8686
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
8787
TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }}
8888
CLOUDSMITH_TOKEN: ${{ secrets.CLOUDSMITH_TOKEN }}
89+
TOFUUTILS_PR_TOKEN: ${{ secrets.TOFUUTILS_PR_TOKEN }}
8990

9091
- name: Login to GitHub Container Registry
9192
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # ratchet:docker/login-action@v3

.goreleaser_release_only.yml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,11 +175,26 @@ dmg:
175175
replace: true
176176
mod_timestamp: "{{ .CommitTimestamp }}"
177177

178+
scoops:
179+
- repository:
180+
owner: tofuutils
181+
name: scoop-bucket
182+
token: "{{ .Env.TOFUUTILS_PR_TOKEN }}"
183+
token_type: "github"
184+
directory: bucket
185+
homepage: "https://github.com/tofuutils/tenv"
186+
description: "OpenTofu, Terraform, Terragrunt, Terramate and Atmos version manager, written in Go"
187+
license: "Apache-2.0"
188+
189+
commit_author:
190+
name: "tofuutils"
191+
email: "tofuutils@gmail.com"
192+
178193
winget:
179194
- name: tenv
180195
publisher: Tofuutils
181196
short_description: "OpenTofu, Terraform, Terragrunt, Terramate and Atmos version manager, written in Go"
182-
license: "MIT"
197+
license: "Apache-2.0"
183198
publisher_url: "https://tofuutils.github.io/tenv/"
184199
publisher_support_url: "https://github.com/tofuutils/tenv/issues/new/choose"
185200
package_identifier: Tofuutils.Tenv
@@ -213,7 +228,7 @@ winget:
213228
owner: "tofuutils"
214229
name: winget-pkgs
215230
branch: "tenv-{{ .Version }}"
216-
token: "{{ .Env.WINGET_TOKEN }}"
231+
token: "{{ .Env.TOFUUTILS_PR_TOKEN }}"
217232
token_type: "github"
218233
pull_request:
219234
enabled: true
@@ -225,5 +240,5 @@ winget:
225240
branch: master
226241

227242
commit_author:
228-
name: "tofuutils-tenv"
243+
name: "tofuutils"
229244
email: "tofuutils@gmail.com"

0 commit comments

Comments
 (0)