Skip to content

Conversation

@zimeg
Copy link
Member

@zimeg zimeg commented Apr 1, 2025

Summary

This PR updates goreleaser from v2.5.1 to v2.8.2 and replaces deprecated options.

No change to released outputs!

Requirements

@zimeg zimeg added code health M-T: Test improvements and anything that improves code health semver:patch Use on pull requests to describe the release version increment labels Apr 1, 2025
@zimeg zimeg added this to the Next Release milestone Apr 1, 2025
@zimeg zimeg self-assigned this Apr 1, 2025
@zimeg zimeg requested a review from a team as a code owner April 1, 2025 19:29
@codecov
Copy link

codecov bot commented Apr 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 62.79%. Comparing base (0f85eba) to head (c706f36).
Report is 5 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main       #4   +/-   ##
=======================================
  Coverage   62.79%   62.79%           
=======================================
  Files         210      210           
  Lines       22053    22053           
=======================================
  Hits        13848    13848           
  Misses       7126     7126           
  Partials     1079     1079           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Member Author

@zimeg zimeg left a comment

Choose a reason for hiding this comment

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

📝 Leaving a few links and notes on these changes for the kind reviewers!

archives:
- id: slack
builds:
ids:
Copy link
Member Author

Choose a reason for hiding this comment

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

Comment on lines -56 to +57
format: zip
formats:
- zip
Copy link
Member Author

Choose a reason for hiding this comment

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

snapshot:
version_template: "{{.Env.BUILD_VERSION}}"
version_template: "{{ .Env.BUILD_VERSION }}"
Copy link
Member Author

Choose a reason for hiding this comment

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

📝 Added this spacing to reduce the diff with .goreleaser.yml!

Comment on lines -56 to +57
format: zip
formats:
- zip
Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

Very subtle change. Thanks for the link!

Comment on lines -24 to +25
- binary: bin/slack
id: slack
- id: slack
binary: bin/slack
Copy link
Member Author

Choose a reason for hiding this comment

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

📝 This is perhaps opinionated, but IMO id as the first value makes parsing in the "archives" step faster!

Copy link
Member

Choose a reason for hiding this comment

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

I definitely prefer id to be first as well!

@zimeg
Copy link
Member Author

zimeg commented Apr 1, 2025

📝 Hmm... I want to check how artifacts are uploaded. It seems strange that the prerelease for this branch has fewer assets than others:

assets

assets

@zimeg zimeg marked this pull request as draft April 1, 2025 20:48
@zimeg
Copy link
Member Author

zimeg commented Apr 1, 2025

🤔 I'm most confused about this:

slack_cli_3.0.2-3-gebb1357_macOS_64-bit.tar.gz    133 Bytes

@zimeg
Copy link
Member Author

zimeg commented Apr 1, 2025

☝️ Something strange is happening with the tags used in testing. I don't believe it's related to the changes of this PR, but I'll follow up with findings!

@zimeg
Copy link
Member Author

zimeg commented Apr 2, 2025

🎉 Tests are back to passing! The extra version in a tag was breaking some version checks upstream but a fixed has since landed.

@zimeg
Copy link
Member Author

zimeg commented Apr 2, 2025

🔍 I'm noticing the strangeness in release artifacts might too be related to tags that might not exist since similar assets are missing from the dev-build.

Some investigation into this is happening in #6 and so far seems unrelated to the changes of this PR, so I'm marking this as "ready for review" once more 🫡

@zimeg zimeg marked this pull request as ready for review April 2, 2025 02:20
Copy link
Member

@mwbrooks mwbrooks left a comment

Choose a reason for hiding this comment

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

✅ LGTM and safe to merge. Thanks for keeping our dev dependencies up-to-date! 🚀

Comment on lines -56 to +57
format: zip
formats:
- zip
Copy link
Member

Choose a reason for hiding this comment

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

Very subtle change. Thanks for the link!

Comment on lines -24 to +25
- binary: bin/slack
id: slack
- id: slack
binary: bin/slack
Copy link
Member

Choose a reason for hiding this comment

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

I definitely prefer id to be first as well!

@mwbrooks mwbrooks changed the title build: update goreleaser and configurations from v2.5.1 to v2.8.2 build(deps): bump goreleaser and configurations from v2.5.1 to v2.8.2 Apr 2, 2025
@zimeg
Copy link
Member Author

zimeg commented Apr 2, 2025

@mwbrooks Thanks so much for helping debug the strangenesses in release notes and feature tags. For now I'm hoping we can merge this PR and revisit these as needed or sooner 👾

@zimeg zimeg merged commit f2f33c4 into main Apr 2, 2025
6 checks passed
@zimeg zimeg deleted the zimeg-build-goreleaser-2.8.2 branch April 2, 2025 22:53
@zimeg zimeg added build M-T: Changes to compilation and CI processes and removed code health M-T: Test improvements and anything that improves code health labels Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build M-T: Changes to compilation and CI processes semver:patch Use on pull requests to describe the release version increment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants