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

Support releasing stable Github releases using the release tool #15848

Merged
merged 2 commits into from May 29, 2019

Conversation

@youknowriad
Copy link
Contributor

commented May 27, 2019

This PR refactors the release tool a little bit in order to support performing stable releases. For the moment it only performs the "Github" part of the stable release, it dosen't touch SVN yet.

Testing instructions

  • You can test this without affecting the real Gutenberg repositories.
  • Have a fork of the repository
  • Create an SVN repository in any random host (and copy the content of the gutenberg svn repository into it, copy just trunk and create an empty tags folder).
  • checkout this branch, change the gitRepoURL variable to your Github username and change the svnRepoURL to use your custom SVN repo.
  • Now you can run ./bin/commander.js rc or ./bin/commander.js stable as much as you want. The only thing that is not supported is to perform two consecutive RC releases.

For example:

./bin/commander.js stable  // will release Gutenberg 5.8.0
./bin/commander.js stable  // will release Gutenberg 5.8.1
./bin/commander.js stable  // will release Gutenberg 5.8.2
./bin/commander.js rc  // will release Gutenberg 5.9.0-rc.1
./bin/commander.js stable  // will release Gutenberg 5.9.0
./bin/commander.js rc  // will release Gutenberg 6.0.0-rc.1
@youknowriad

This comment has been minimized.

Copy link
Contributor Author

commented May 28, 2019

I updated this, it now supports the full process including the SVN release. I've been testing on a custom SVN repo. (See testing instructions)

I'd like to merge this today to be able to use it for tomorrow's release.

@ellatrix
Copy link
Member

left a comment

@youknowriad youknowriad merged commit 2fea85d into master May 29, 2019

1 check passed

Travis CI - Pull Request Build Passed
Details

@youknowriad youknowriad deleted the add/release-stable-cli branch May 29, 2019

@youknowriad youknowriad added this to the Gutenberg 5.9 milestone Jun 7, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.