-
Notifications
You must be signed in to change notification settings - Fork 867
Library Maintainers Guide
David Conran edited this page Mar 2, 2018
·
28 revisions
-
git checkout master; git pull
Make sure your master branch is up-to-date -
git checkout -b vXX.YY.ZZ
Where 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.h
to the new version number. - Update
version
inlibrary.json
&version=
inlibrary.properties
accordingly. - All three must be the same.
- Update
- Update the version information in the documentation:
- Update "Now Available" section in
README.md
. - Update
ReleaseNotes.md
and add a new section for the new release.-
git log
should 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.txt
from the top directory. (Requires a Linux machine etc) -
git diff
and review the changes are what you expect. -
git commit -a
and 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.md
as 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.md
update. - 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.