-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[Draft] Automate publishing crates #10913
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
base: master
Are you sure you want to change the base?
Conversation
|
All GitHub workflows were cancelled due to failure one of the required jobs. |
| echo "STABLE_BRANCH=$STABLE_BRANCH" >> $GITHUB_OUTPUT | ||
|
|
||
| # I am calling it like this because we will call post crates workflow after on this one | ||
| echo "RELEASE_BRANCH=post-crates-release-$RELEASE_NAME" >> $GITHUB_OUTPUT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| echo "RELEASE_BRANCH=post-crates-release-$RELEASE_NAME" >> $GITHUB_OUTPUT | |
| echo "CRATES_RELEASE_BRANCH=post-crates-release-$RELEASE_NAME" >> $GITHUB_OUTPUT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure about this name tho, maybe iut make sense to keep it as just RELEASE_BRANCH
| echo "Running parity-publish plan..." | ||
| parity-publish plan --prdoc prdoc | ||
|
|
||
| - name: Save Plan.toml diff |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this we only need for the patch releases, as a new stable has way to many chnaged crates and comes a as big bang anyway
| echo "Would run: parity-publish apply -p --batch-delay 15 --max-concurrent 1 --batch-size 1" | ||
| echo "" | ||
| echo "Crates that would be published:" | ||
| parity-publish apply --print || true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is an actual dry run mode built in parity-poublish if you run parity-publish apply -p -d
No description provided.