-
Notifications
You must be signed in to change notification settings - Fork 1
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
Configure publishing on tag #10
Comments
This was referenced Aug 2, 2022
Every library is now configured to run a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We should publish a new release of each library to Sonatype (or alternatively to GitHub) whenever a version is tagged. This should be possible using Irk's
publish
command, though it has not been widely tested, and has very little error handling.One way this could work is to have a GitHub action which matches on "pending" tags, e.g.
v1.0.4-pending
and runs the build/publish script, then removes thev1.0.4-pending
tag and addsv1.0.4
to the same commit. This would help to reduce the risk of repeated publishing attempts The script should also automatically ignore/deletev<x>-pending
tags if a correspondingv<x>
tag already exists, since its existence means that the release has already been published: it's likely thatgit push --tags
would happen occasionally by accident, and we would want to avoid doing multiple releases.The text was updated successfully, but these errors were encountered: