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

Improve release flow #527

Open
dentarg opened this issue Dec 9, 2023 · 7 comments
Open

Improve release flow #527

dentarg opened this issue Dec 9, 2023 · 7 comments
Assignees

Comments

@dentarg
Copy link
Collaborator

dentarg commented Dec 9, 2023

It is too much cruft, it is time to make it easier and more automated

@dentarg dentarg self-assigned this Dec 9, 2023
@dentarg
Copy link
Collaborator Author

dentarg commented Dec 9, 2023

Examples

  • All PRs wanting to change the gemspec (misses there's a rake task to update)

  • gemspec: more #freeze and rubygems_version bump #526

  • $ b e rake --trace clobber
    ** Invoke clobber (first_time)
    rake aborted!
    Don't know how to build task 'spec:clobber_simplecov' (See the list of available tasks with `rake --tasks`)
    Did you mean?  spec:simplecov
    ...

@dentarg
Copy link
Collaborator Author

dentarg commented Dec 14, 2023

https://blog.rubygems.org/2023/12/14/trusted-publishing.html

@sporkmonger
Copy link
Owner

The new trusted publishing flow is the way to go I think.

@sporkmonger
Copy link
Owner

Might be worth exploring SLSA provenance too if we're making release changes.

@dentarg
Copy link
Collaborator Author

dentarg commented Dec 22, 2023

Might be worth exploring SLSA provenance too if we're making release changes.

It will come: rubygems/rubygems.org#4286 (comment)

@dentarg
Copy link
Collaborator Author

dentarg commented Dec 22, 2023

I tested "Trusted Publishers" with a dummy gem over at https://github.com/spinels/slenips

dentarg added a commit to dentarg/addressable that referenced this issue Jun 21, 2024
dentarg added a commit to dentarg/addressable that referenced this issue Jun 21, 2024
@dentarg
Copy link
Collaborator Author

dentarg commented Jun 21, 2024

It worked 🎉 https://github.com/sporkmonger/addressable/actions/runs/9612404033/job/26512966861#step:8:13

Successfully registered gem: addressable (2.8.7)

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

No branches or pull requests

2 participants