-
Notifications
You must be signed in to change notification settings - Fork 916
Library Maintainers Guide
David Conran edited this page Jan 26, 2018
·
28 revisions
-
git checkout master; git pullMake sure your master branch is up-to-date -
git branch -b vXX.YY.ZZWhere vXX.YY.ZZ is the new version string. e.g. v2.3.2 - Change the library version in the code:
- Update
_IRREMOTEESP8266_VERSION_insrc/IRremoteESP8266.hto the new version number. - Update
versioninlibrary.json&version=inlibrary.propertiesaccordingly. - All three must be the same.
- Update
- Update the version information in the documentation:
- Update "Now Available" section in
README.md. - Update
ReleaseNotes.mdand add a new section for the new release.-
git logshould show you the change history. - Update the date to today's date for the new release.
-
- Update "Now Available" section in
- Run
tools/mkkeywords > keywords.txtfrom the top directory. (Requires a Linux machine etc) -
git commit -aand create an appropriate entry. e.g. "v2.3.2 release" git push --set-upstream origin vXX.YY.ZZ- Wait for the Travis build to complete successfully.
- Create a Pull Request to the 'master' branch:
- Set appropriate reviewers as needed.
- Copy in the new section of the
ReleaseNotes.mdas the PR comment.
-
Wait for:
- Approval (or not, all the substantial commits should have already been done)
- Travis to pass
- Only then, merge to master.
- Go to the Releases tab in github.
- Click "Draft a new release".
-
Tag Version: vXX.YY.ZZ -
Target: Master -
Release title: IRremoteESP8266 -
Notes: Cut & paste from theReleaseNotes.mdupdate. - Make sure the pre-release checkbox is un-checked.
- Click the Preview tab and check it looks okay.
- Publish Release
- The new release is now live. Arduino IDE's Library Manager should pick up the new version within 24 hours.
- Update any reported bugs that were fixed by changes that happened between this new version and the now previous one.
- Relax. Grab a cold beverage. It's all done.