Skip to content

Commit 796a921

Browse files
authored
Disable formula upload of idpbuilder.rb for nightly builds (cnoe-io#540)
Disable formula upload of idpbuilder.rb for nightly builds (cnoe-io#540) Signed-off-by: Pankaj Walke <punkwalker@gmail.com>
1 parent 3d6172a commit 796a921

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.goreleaser.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ brews:
3131
# For non version installations
3232
- name: "idpbuilder"
3333
homepage: "https://cnoe.io"
34+
skip_upload: "{{ contains .Tag \"nightly\" }}" # Don't upload this formula if the build is nightly
3435
repository:
3536
owner: cnoe-io
3637
name: homebrew-tap
@@ -44,7 +45,7 @@ brews:
4445
test: |
4546
system "#{bin}/idpbuilder version"
4647
# For versioned and nightly installations
47-
- name: "{{ if contains .Tag \"nightly\" }}idpbuilder@nightly{{ else }}idpbuilder@{{ .Major }}.{{ .Minor }}.{{ .Patch }}{{ end }}"
48+
- name: "{{ if contains .Tag \"nightly\" }}idpbuilder-nightly{{ else }}idpbuilder@{{ .Major }}.{{ .Minor }}.{{ .Patch }}{{ end }}"
4849
homepage: "https://cnoe.io"
4950
repository:
5051
owner: cnoe-io

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ This can be useful in several ways:
3131
+ Nightly Version
3232

3333
```bash
34-
brew install cnoe-io/tap/idpbuilder@nightly
34+
brew install cnoe-io/tap/idpbuilder-nightly
3535
```
3636

3737
### From Releases

0 commit comments

Comments
 (0)