2014-10-14 14:15:56 +00:00
title: Releasing a new version of TiddlyWiki
2018-05-10 14:55:36 +00:00
# Verify the version numbers in [[$:/config/OfficialPluginLibrary]] (both in `editions/tw5.com` and `editions/prerelease/tiddlers/system`)
2014-10-15 20:56:32 +00:00
# Move the latest release note from the prerelease edition into the tw5.com edition
2015-07-03 15:59:40 +00:00
# Adjust the release date and the ''released'' field of the latest release tiddler (eg, [[Release 5.1.3]])
2016-01-07 21:09:37 +00:00
# Ensure [[TiddlyWiki Releases]] has the new version as the default tab
2014-10-14 14:15:56 +00:00
# Adjust the modified time of HelloThere
# Make sure ''Jermolene/TiddlyWiki5'' is fully committed
# Edit `package.json` to the new version number
2014-10-15 15:18:08 +00:00
# Run `../build.jermolene.github.io/readme-bld.sh` to build the readme files
2014-10-20 17:14:00 +00:00
# Commit the new readme files in `TiddlyWiki5`
2014-10-14 14:15:56 +00:00
# Restore `package.json` to the previous version number
2014-10-16 08:27:25 +00:00
# Run `../build.jermolene.github.io/verbump "5.1.3"` (substituting the correct version number) to update the version number, assign it a tag
# Run `../build.jermolene.github.io/npm-publish.sh` to publish the release to npm
2014-10-20 17:14:00 +00:00
# Update the `package.json` for `build.jermolene.github.io` to the new version
2014-10-14 14:15:56 +00:00
# Verify that the new release of TiddlyWiki is available at https://www.npmjs.org/package/tiddlywiki
# Change current directory to the `build.jermolene.github.io` directory
# Run `npm install` to install the correct version of TiddlyWiki
# Change current directory to the `TiddlyWiki5` directory
# Run `../build.jermolene.github.io/bld.sh` to build the content files
# Verify that the files in the `jermolene.github.io` directory are correct
2014-10-15 15:18:08 +00:00
# Run `../build.jermolene.github.io/github-push.sh` to push the new files to GitHub
2017-11-11 11:56:20 +00:00
# Tweet the release with the text "TiddlyWiki v5.x.x released to https://tiddlywiki.com #newtiddlywikirelease"
2015-03-16 15:44:24 +00:00
# Preparation for the next release:
2018-05-10 14:55:36 +00:00
## Adjust version number in [[$:/config/OfficialPluginLibrary]] (both in `editions/tw5.com` and `editions/prerelease/tiddlers/system`) and [[$:/config/LocalPluginLibrary]]
2015-07-14 16:03:37 +00:00
## Adjust version number in https://github.com/Jermolene/build.jermolene.github.io in `prerelease-bld.sh`, `bld.sh` and `make-library-bld.sh`