Skip to content

Commit 5e27b7e

Browse files
authored
fix: run goreleaser check as soft (#412)
This prevents deprecation notices from failing the pipeline. The main problem is that `dockers` is considered deprecated, while `dockers_v2` is in alpha. Soft only fails on syntax errors.
1 parent b35ef09 commit 5e27b7e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ includes:
55
variables:
66
brew_name: cli
77

8-
brew_description: "Use Ory from the your terminal!"
8+
brew_description: "Use Ory from your terminal!"
99

1010
buildinfo_hash: "github.com/ory/cli/buildinfo.GitHash"
1111
buildinfo_tag: "github.com/ory/cli/buildinfo.Version"

cmd/dev/release/publish.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ Are you sure you want to proceed without creating a pre version first?`, current
127127
pkg.Confirm("You are about to release a non-test release v%s but did not include the --include-changelog-since flag. Are you sure you want to continue?", nextVersion)
128128
}
129129

130-
pkg.Check(pkg.NewCommand("goreleaser", "check").Run())
130+
pkg.Check(pkg.NewCommand("goreleaser", "check", "--soft").Run())
131131

132132
if dry {
133133
fmt.Println("Don't worry, this is a dry run!")

0 commit comments

Comments
 (0)