mirror of https://github.com/keeweb/keeweb.git
Updated Releasing (markdown)
parent
be246b23b1
commit
9bbe790845
38
Releasing.md
38
Releasing.md
|
@ -1,44 +1,16 @@
|
|||
For maintainers: how to build and publish a new KeeWeb release.
|
||||
|
||||
⚠️ this document is outdated, builds are now performed on CI.
|
||||
|
||||
### Prerequisites
|
||||
### Release
|
||||
|
||||
1. run `npm start` in keeweb-plugins and push if there are changes
|
||||
2. checkout a release or patch branch
|
||||
3. copy languages with `node util/copy-languages.js`, commit changes, if any
|
||||
3. copy languages with `util/copy-languages.sh` and commit changes, if any
|
||||
4. update version date in `release-notes.md`
|
||||
5. bump version with `node util/bump-version.js`
|
||||
6. merge the release branch into `master`
|
||||
|
||||
### Build
|
||||
|
||||
1. make sure you're on `master`
|
||||
2. install node modules: `npm i`
|
||||
3. run `git status` and commit if there are changes
|
||||
4. build the project: `grunt desktop`
|
||||
5. test the web build, installers, and desktop builds, check version in Settings / About
|
||||
6. make sure that `dist/manifest.appcache` contains version `X.Y.Z` and the release date
|
||||
7. add a signed git tag `vX.Y.Z`
|
||||
8. copy html and manifest from `dist` to `gh-pages` branch, commit as `vX.Y.Z`
|
||||
7. [draft a new release](https://github.com/keeweb/keeweb/releases/new) as `Desktop apps vX.Y.Z`
|
||||
10. paste release notes there, strip trailing spaces in them, to prevent extra newlines
|
||||
11. upload desktop builds from `dist/desktop` and save the draft
|
||||
|
||||
### Publish
|
||||
|
||||
#### ⚠️ you cannot abort the release after any of steps below
|
||||
|
||||
1. push `master` with tags → all pending issues are now closed
|
||||
2. publish the release with tag `vX.Y.Z` → at this point users can download this release
|
||||
3. push `gh-pages` → the software becomes available online and for auto-update
|
||||
|
||||
### Final check
|
||||
|
||||
1. go to [app.keeweb.info](https://app.keeweb.info), wait for the updater, refresh the page, and check app version
|
||||
2. update desktop apps and check versions
|
||||
3. install the new desktop build and check its version
|
||||
4. check updates in the desktop build, make sure it's the latest version
|
||||
7. make sure you're on `master`
|
||||
8. add a signed git tag `vX.Y.Z`
|
||||
9. push and wait for [CI](https://github.com/keeweb/keeweb/actions)
|
||||
|
||||
### After release
|
||||
|
||||
|
|
Loading…
Reference in New Issue