Skip to content

Improve release script old version doc#10643

Merged
slax57 merged 6 commits into
masterfrom
improve-release-script-old-version-doc
Apr 7, 2025
Merged

Improve release script old version doc#10643
slax57 merged 6 commits into
masterfrom
improve-release-script-old-version-doc

Conversation

@djhi
Copy link
Copy Markdown
Contributor

@djhi djhi commented Apr 4, 2025

Problem

This is an unnecessary manual step.

Solution

Automate it

How To Test

These scripts support a RELEASE_DRY_RUN env variable allowing to skip all mutations to git, GitHub or npm, except 1 git commit (but not pushed!) from lerna.

First, create a .env file from the .env.template file and fill it in with your Github token.

Then run:

RELEASE_DRY_RUN=true make release

Select the new minor version when Lerna asks for it.

When this is done, don't forget to revert the commit created by lerna to update the versions:

git reset --hard HEAD~1

Additional Checks

  • The PR targets master for a bugfix or a documentation fix, or next for a feature

Comment thread scripts/release.sh Outdated
Comment thread scripts/release.sh Outdated
Comment thread scripts/release.sh Outdated
@slax57 slax57 added this to the 5.7.2 milestone Apr 7, 2025
@slax57 slax57 merged commit 42e97cf into master Apr 7, 2025
0 of 2 checks passed
@slax57 slax57 deleted the improve-release-script-old-version-doc branch April 7, 2025 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

RFR Ready For Review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants