This repository has been archived on 2025-09-08. You can view files and clone it, but cannot push or open issues or pull requests.
Files
mewpot-ppropanel-installer/docs/publish-a-release.md

28 lines
936 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# How to publish a release
*This document is a reminder for the project contributors.*
1. Be sure youve merged your changes into `master`.
1. If you havent already, the version number in [`app/package.json`](../app/package.json) and commit your change.
1. Tag the release in `master`.
```
git checkout master
git tag X.X.X
git push --tags
```
1. Run `npm run pack`. This will build the binaries to the `release` directory.
1. [Draft a new release](https://github.com/CreativeDo/ZXPInstaller/releases/new). Choose your tag in the *Tag version* dropdown. Title the release with the version number. Add the changelog to the release notes. Upload the `ZXPInstaller.dmg` and `ZXPInstaller Setup.exe` files to the release.
1. Click the *Publish release* button.
1. Switch to the `gh-pages` branch of the repo. Update the site links to point to the new release binary urls.
1. Merge the site changes.
Youre done!