Skip to content

Commit

Permalink
Enable 'RC' releases in release GH workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mprimi committed Apr 26, 2024
1 parent 97031bc commit ea9210d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
tags:
- v[0-9]+\.[0-9]+\.[0-9]+
- v[0-9]+\.[0-9]+\.[0-9]+-RC\.[0-9]+
jobs:
release:
runs-on: ubuntu-latest
Expand Down
3 changes: 2 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ release:
name: natscli
name_template: "Release {{.Version}}"
draft: true
prerelease: auto

changelog:
skip: true
Expand Down Expand Up @@ -61,7 +62,7 @@ brews:
url_template: "https://github.com/nats-io/natscli/releases/download/{{ .Tag }}/nats-{{.Version}}-{{ .Os }}-{{ .Arch }}{{if .Arm}}{{.Arm}}{{end}}.zip"
homepage: "https://github.com/nats-io/nats"
description: "NATS utility"
skip_upload: false
skip_upload: auto
test: |
system "#{bin}/nats --version"
install: |
Expand Down

0 comments on commit ea9210d

Please sign in to comment.