Skip to content

Conversation

@cretz
Copy link
Member

@cretz cretz commented Mar 27, 2024

What was changed

Replace release GH workflow with goreleaser from main so that it will run on release and can be manually triggered. I suspect once cli-rewrite is on main we may make the name more generic to support things like docker publish

@cretz cretz requested a review from a team March 27, 2024 19:18
Copy link

@josh-berry josh-berry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, just a couple dumb questions.

Comment on lines -6 to +7
- 'v[0-9]+.[0-9]+.[0-9]+'
- '**'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this is a regex, shouldn't it be .*?

Copy link
Member Author

@cretz cretz Mar 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment on lines -41 to +45
uses: goreleaser/goreleaser-action@v5
uses: goreleaser/goreleaser-action@336e29918d653399e599bfca99fadc1d7ffbc9f7 # v4.3.0

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason not to use v5 of goreleaser? (I feel like we should probably just bite the bullet and pull all the updates / work out all the kinks in the release process now with the RC but that's not a strong opinion)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just copied main to keep it safe to run as main runs. I don't even like the file name much less the contents. We should revisit this (and include docker publish), but I want initial release to get done.

@cretz cretz merged commit 1eba88a into cli-rewrite Mar 27, 2024
@cretz cretz deleted the goreleaser-on-cli-rewrite branch March 27, 2024 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants