-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Development: Making a release
This page contains the rough outline for the steps of making a new official release of noVNC.
-
Check that the documentation is up to date:
-
README.md
- General check -
LICENSE.md
- Any components added or removed that affect licenses? -
API.md
- Any changes in the public API? -
EMBEDDING.md
andLIBRARY.md
- Any changes on how to deploy/integrate noVNC?
-
-
Temporarily edit
package.json
and update it to the new version. This makes sure we get the correct version number in the translation files. -
Update the translation template:
$ make -C po update-pot $ git commit -m "Update translation template file" po/noVNC.pot
You need to have run
npm install
beforehand to have the proper dependencies. -
Restore
package.json
:$ git checkout -- package.json
-
Update the
.po
files but do not commit these:$ make -C po update-po
The reason we do not commit these is to avoid needless clutter in the history. They will soon be replaced with filled out versions anyway.
-
Send out a request for translations to the
noVNC
group with the.po
files attached and using this template:A new release of noVNC is shortly here so we need your help updating the translations. Please grab one of the attached `.po` files, update the needed strings and reply to this message with the updated file. If you are new to doing translations, then please have a look at poedit as a good tool for editing these files: https://poedit.net/ Regards The noVNC Developers
-
Reset the
.po
files in your working copy:$ git checkout -- po/*.po
-
Update the version number in
package.json
to the format"X.Y.Z-beta"
, e.g."1.1.0-beta"
. -
Commit and tag the version change:
$ git commit -m "noVNC 1.1.0 beta" package.json $ git tag -a -m "noVNC 1.1.0 beta" v1.1.0-beta
-
Push the changes to GitHub:
$ git push --dry-run git@github.com:noVNC/noVNC.git v1.1.0-beta master (check that everything looks sane) $ git push git@github.com:noVNC/noVNC.git v1.1.0-beta master
-
Fill out the GitHub release using this template, don't forget to check the "Pre-release" checkbox for the beta:
A beta of noVNC 1.1.0 is now available. Lots of changes have been made since the last release, but the highlights are: **Application:** - Something - Something else - Something more **Library:** - Something - Something else - Something more Regards The noVNC Developers
-
Use the same template and send an announcement to the
noVNC
group.
Pretty much the same as the beta but without the beta
marker on everything. There is one preceding step though:
-
Update the translations using the updated
.po
files gotten on thenoVNC
group:$ make -C po update-js
-
Commit each translation individually, using the author and date from the respective
.po
file:$ git commit -m "Update Polish translation" \ --author "John Doe <john.doe@example.com>" \ --date "2018-01-12 12:23+0100" \ po/pl.po app/locale/pl.json
-
Update the noVNC.com web page with the new release of noVNC:
$ (cd noVNC && git fetch && git checkout v1.1.0) $ git commit -m "Update to noVNC 1.1.0 release" noVNC
The wiki is read-only because of malware spam that GitHub refuses to provide protection agains. Contact the maintainers directly with changes you'd like to make.