Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TCN-464 fix goreleaser syntax #681

Merged
merged 1 commit into from
Oct 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/workflows/goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: goreleaser

on:
pull_request:
push:
tags:
- "*"
- 'v*.*.*'

permissions:
contents: write
Expand All @@ -19,7 +18,7 @@ jobs:
- run: git fetch --force --tags
- uses: actions/setup-go@v3
with:
go-version: 1.19.1
go-version: 1.19.x
cache: true
- uses: goreleaser/goreleaser-action@v2
with:
Expand Down
34 changes: 0 additions & 34 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
# .goreleaser.yaml
release:
# Repo in which the release will be created.
# Default is extracted from the origin remote URL or empty if its private hosted.
github:
owner: ElliotMJackson
name: protoc-gen-validate

# If set to true, will not auto-publish the release.
# Available only for GitHub and Gitea.
# Default is false.
Expand Down Expand Up @@ -45,33 +38,6 @@ release:
# Default is `keep-existing`.
mode: keep-existing

# Header template for the release body.
# Defaults to empty.
header: |
## Some title ({{ .Date }})

Welcome to this new release!

# Footer template for the release body.
# Defaults to empty.
footer: |
## Thanks!

Those were the changes on {{ .Tag }}!

# You can change the name of the release.
# Default is `{{.Tag}}` on OSS and `{{.PrefixedTag}}` on Pro.
name_template: "{{.Tag}}"

# You can disable this pipe in order to not create the release on any SCM.
# Keep in mind that this might also break things that depend on the release URL, for instance, homebrew taps.
#
# Defaults to false.
disable: false

# Set this to true if you want to disable just the artifact upload to the SCM.
# If this is true, GoReleaser will still create the release with the changelog, but won't upload anything to it.
#
# Default: false.
# Since: v1.11.
skip_upload: false