Skip to content

Commit

Permalink
Fix2
Browse files Browse the repository at this point in the history
  • Loading branch information
kobrikx committed Aug 29, 2024
1 parent aef5bc7 commit 3ca1dd2
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 38 deletions.
36 changes: 19 additions & 17 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ builds:
- viper_toml1

brews:
- name: ize
tap:
-
name: ize
repository:
owner: hazelops
name: homebrew-ize
branch: main
Expand Down Expand Up @@ -83,50 +84,51 @@ archives:
- goos: windows
format: zip

# Repository to push the app manifest to.
scoops:
# Repository to push the app manifest to.
repository:
owner: hazelops
name: scoop-ize
-
repository:
owner: hazelops
name: scoop-ize

# Optionally a branch can be provided.
# Defaults to the default repository branch.
branch: main
branch: main

# Optionally a token can be provided, if it differs from the token provided to GoReleaser
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"

# Folder inside the repository to put the scoop.
# Default is the root folder.
# folder: latest

# Git author used to commit to the repository.
# Defaults are shown.
commit_author:
name: hazelops
email: ize@hazelops.com
commit_author:
name: hazelops
email: ize@hazelops.com

# The project name and current git tag are used in the format string.
commit_msg_template: "Ize update for {{ .ProjectName }} version {{ .Tag }}"
commit_msg_template: "Ize update for {{ .ProjectName }} version {{ .Tag }}"

# Your app's homepage.
# Default is empty.
homepage: "https://ize.sh/"
homepage: "https://ize.sh/"

# Your app's description.
# Default is empty.
description: "IZE is an opinionated infrastructure wrapper that allows to use multiple tools in one infra"
description: "IZE is an opinionated infrastructure wrapper that allows to use multiple tools in one infra"

# Your app's license
# Default is empty.
license: Apache License 2.0
license: Apache License 2.0

# Setting this will prevent goreleaser to actually try to commit the updated
# manifest leaving the responsibility of publishing it to the user.
# If set to auto, the release will not be uploaded to the scoop bucket
# in case there is an indicator for prerelease in the tag e.g. v1.0.0-rc1
# Default is false.
skip_upload: false
skip_upload: false

# Persist data between application updates
# persist:
Expand All @@ -144,4 +146,4 @@ scoops:
# GOAMD64 to specify which amd64 version to use if there are multiple versions
# from the build section.
# Default is v1.
goamd64: v3
# goamd64: v3
38 changes: 17 additions & 21 deletions .goreleaser_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ release:
prerelease: true

brews:
- name: ize-dev
-
name: ize-dev
repository:
owner: hazelops
name: homebrew-ize
Expand Down Expand Up @@ -88,55 +89,50 @@ archives:
format: zip

scoops:
# Template for the url which is determined by the given Token (github or gitlab)
# Default for github is "https://github.com/<repo_owner>/<repo_name>/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
# Default for gitlab is "https://gitlab.com/<repo_owner>/<repo_name>/-/releases/{{ .Tag }}/downloads/{{ .ArtifactName }}"
# Default for gitea is "https://gitea.com/<repo_owner>/<repo_name>/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
# url_template: "https://github.com/hazelops/ize/releases/download/{{ .Tag }}/{{ .ArtifactName }}"

-
# Repository to push the app manifest to.
repository:
owner: hazelops
name: scoop-ize
repository:
owner: hazelops
name: scoop-ize

# Optionally a branch can be provided.
# Defaults to the default repository branch.
branch: main
branch: main

# Optionally a token can be provided, if it differs from the token provided to GoReleaser
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"

# Folder inside the repository to put the scoop.
# Default is the root folder.
folder: dev
directory: dev

# Git author used to commit to the repository.
# Defaults are shown.
commit_author:
name: hazelops
email: ize@hazelops.com
commit_author:
name: hazelops
email: ize@hazelops.com

# The project name and current git tag are used in the format string.
commit_msg_template: "Ize update for {{ .ProjectName }} version {{ .Tag }}"
commit_msg_template: "Ize update for {{ .ProjectName }} version {{ .Tag }}"

# Your app's homepage.
# Default is empty.
homepage: "https://ize.sh/"
homepage: "https://ize.sh/"

# Your app's description.
# Default is empty.
description: "IZE is an opinionated infrastructure wrapper that allows to use multiple tools in one infra"
description: "IZE is an opinionated infrastructure wrapper that allows to use multiple tools in one infra"

# Your app's license
# Default is empty.
license: Apache License 2.0
license: Apache License 2.0

# Setting this will prevent goreleaser to actually try to commit the updated
# manifest leaving the responsibility of publishing it to the user.
# If set to auto, the release will not be uploaded to the scoop bucket
# in case there is an indicator for prerelease in the tag e.g. v1.0.0-rc1
# Default is false.
skip_upload: false
skip_upload: false

# Persist data between application updates
# persist:
Expand Down

0 comments on commit 3ca1dd2

Please sign in to comment.