You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Look up the current version number. It will be on the format vX.Y.
If the next release is a major update, then pick the new version number by incrementing the X value with 1 and set the Y value to 0.
If the new release is a small update, then pick the new version number by keeping X as is, and incrementing the Y value with 1.
If needed the values can be made double digits and be on format vXX.YY.
2. Copy this checklist to an issue
On this page, click the Raw button and copy all the content of this page into an issue. Call this issue "Release checklist for vX.Y". Replace "X.Y" with the version number of the current release. Use this issue to keep track of the progress for this release.
3. Manage milestones
Edit the name of milestone called next-release. Name it vX.Y. Replace "X.Y" with the version number of the current release.
If this is the first release where milestones are used, then just create a new milestone called vX.Y.
Create a new milestone and give that milestone the name next-release
4. Merge milestone to develop
Make sure that all fixed issues added to the milestone now called vX.Y are merged to the develop branch
For any issues on the milestone not yet fixed, decide to either:
Fix it before continuing with this release
Move that issue to the next-release milestone
5. Create version branch release-vX.Y
This branch MUST be created from the main branch. Name this branch release-vX.Y where you replace "X.Y" with the version number of the current release.
This branch may not be called vX.Y as that will be the name when publishing the release on GitHub. And GitHub no longer allows that a branch and a release share names. This is possible to work around, but it is by far easiest to just call this branch something like release-vX.Y.
6. Merge develop to the version branch
Solve all the conflicts in the release-vX.Y branch and then make sure that the sub-steps in this step are done in the release-vX.Y branch and nowhere else.
6.1 Test in different operative systems - This step is not necessary every time, but testing the commands in Stata on each of the PC, Mac and Linux operative systems should be done from time to time. A particularly good time to do this is after writing or editing code that depends on file paths, the console, special settings etc. If testing fails, do one of the following:
If a smaller update is required, then make the update in the version branch
If a larger update is required, or if the scale of the required update is not clear, then:
Create an issue describing the failed test
Create a new branch from the develop branch and make the required update there
Once the issue is fixed, merge the new branch to develop and then merge develop again to the version branch
6.2 Update version and date - In the release-vX.Y branch, update the version number and date in all ado-files and all dates in all help files. See section below for details.
6.3 Update version locals in - In the .ado file in the release-vX.Y branch, update the version and versionDate locals at the top of the file.
6.4 Update version in .pkg and .toc - This has nothing to do with SSC but should be kept up to date to. This is for when people install directly through GitHub using net install. If any new command has been added, remember to add the files for that command to the .pkg file.
7 Create a .zip file
Create a .zip file with all ado-files and help files only. These files are not allowed to be in a sub-folder in this .zip file. No other files should be in this folder.
8. Email Prof. Baum
8.1 - If any commands are added or deleted, make note of that in the email.
8.2 - If any of the meta info (title, description, keywords, version or author/contact) has changed then include those updates in your email.
Email the .zip file created in the previous step to [email protected].
9. Draft release note
Go to the release notes (https://github.com/worldbank/<pkgname>/releases) and draft a new release note for the new version. Follow the format from previous releases with links to issues (https://github.com/worldbank/<pkgname>/issues) solved.
10. Wait for publication confirmation
Do not proceed pass this step until Prof. Baum has confirmed that the new version is uploaded to the servers.
11. Merge release-vX.Y branch to main
If step 2 and 3 was done correctly, then there should not be any merge conflicts in this step. Once merged, delete the release-vX.Y branch.
12. Close issues
When the new version is up, close all the issues (https://github.com/worldbank/<pkgname>/issues) that was solved in the new version.
13. VERY IMPORTANT STEP - Update develop and feature branches
13.1 Update develop from main
This step brings edits done in the release-vX.Y branch and main branch during the release into the develop branch. This can either be done with a rebase (more advances, but cleaner history) or a merge (less advance, but messier history).
Rebase: Rebase the develop branch onto main. The effect is that it looks as if the develop branch was created from where main is now.
Merge: Merge main into develop. The state of develop will be the same as after a rebase, but there will be merge arrows going multiple directions in the network graph. This is not too bad if done only with the develop branch, but looks messy if also done with feature branches in next step.
13.2 Update feature branches from develop
Repeat the same process on all branches that are still open. But update the feature branches from develop and not main. Often it does not matter if you use main, but do it from develop in case more edits were already done in main.
14. Publish release note
Once the new version is up on SSC, publish the release note.
15. Send announce email - If it is a major release (new commands or significant updates to existing commands), send an email to DIME Team to announce the new version.
The text was updated successfully, but these errors were encountered:
Checklist
1. Decide on new version number
vX.Y
.X
value with 1 and set theY
value to 0.X
as is, and incrementing theY
value with 1.vXX.YY
.2. Copy this checklist to an issue
Raw
button and copy all the content of this page into an issue. Call this issue "Release checklist for vX.Y". Replace "X.Y" with the version number of the current release. Use this issue to keep track of the progress for this release.3. Manage milestones
next-release
. Name itvX.Y
. Replace "X.Y" with the version number of the current release.vX.Y
.next-release
4. Merge milestone to
develop
vX.Y
are merged to thedevelop
branchnext-release
milestone5. Create version branch
release-vX.Y
main
branch. Name this branchrelease-vX.Y
where you replace "X.Y" with the version number of the current release.vX.Y
as that will be the name when publishing the release on GitHub. And GitHub no longer allows that a branch and a release share names. This is possible to work around, but it is by far easiest to just call this branch something likerelease-vX.Y
.6. Merge
develop
to the version branchrelease-vX.Y
branch and then make sure that the sub-steps in this step are done in therelease-vX.Y
branch and nowhere else.develop
branch and make the required update theredevelop
and then mergedevelop
again to the version branchrelease-vX.Y
branch, update the version number and date in all ado-files and all dates in all help files. See section below for details.release-vX.Y
branch, update the version and versionDate locals at the top of the file.net install
. If any new command has been added, remember to add the files for that command to the.pkg
file.7 Create a .zip file
8. Email Prof. Baum
9. Draft release note
https://github.com/worldbank/<pkgname>/releases
) and draft a new release note for the new version. Follow the format from previous releases with links to issues (https://github.com/worldbank/<pkgname>/issues
) solved.10. Wait for publication confirmation
11. Merge
release-vX.Y
branch tomain
release-vX.Y
branch.12. Close issues
https://github.com/worldbank/<pkgname>/issues
) that was solved in the new version.13. VERY IMPORTANT STEP - Update
develop
and feature branchesdevelop
frommain
release-vX.Y
branch andmain
branch during the release into thedevelop
branch. This can either be done with a rebase (more advances, but cleaner history) or a merge (less advance, but messier history).develop
branch ontomain
. The effect is that it looks as if thedevelop
branch was created from wheremain
is now.main
intodevelop
. The state ofdevelop
will be the same as after a rebase, but there will be merge arrows going multiple directions in the network graph. This is not too bad if done only with thedevelop
branch, but looks messy if also done with feature branches in next step.develop
develop
and notmain
. Often it does not matter if you usemain
, but do it fromdevelop
in case more edits were already done inmain
.14. Publish release note
15. Send announce email - If it is a major release (new commands or significant updates to existing commands), send an email to DIME Team to announce the new version.
The text was updated successfully, but these errors were encountered: