mirror of
https://github.com/mifi/lossless-cut.git
synced 2024-11-24 19:32:29 +01:00
update contributing
This commit is contained in:
parent
898eefcadc
commit
9b34fab846
@ -62,26 +62,45 @@ Windows store version is built as a Desktop Bridge app (with `runFullTrust` capa
|
|||||||
|
|
||||||
## Releasing
|
## Releasing
|
||||||
|
|
||||||
For per-platform build/signing setup, see [this article](https://mifi.no/blog/automated-electron-build-with-release-to-mac-app-store-microsoft-store-snapcraft/).
|
### Build new version
|
||||||
|
|
||||||
### Release new version
|
- `git checkout master`
|
||||||
|
- `git merge stores` (in case there's an old unmerged stores hotfix)
|
||||||
- If Mac App Store / Windows Store
|
- *If Store-only hotfix release*
|
||||||
- Checkout branch `stores`
|
- `git checkout stores`
|
||||||
- Merge `master` into `stores`
|
- `npm version patch`
|
||||||
- `npm version ...`
|
- *If normal GitHub-first release*
|
||||||
|
- `npm version minor`
|
||||||
- `git push --follow-tags`
|
- `git push --follow-tags`
|
||||||
- Wait for build and draft in Github actions
|
- Wait for build and draft in Github actions
|
||||||
|
|
||||||
|
### Release built version
|
||||||
|
|
||||||
- Open draft in github and add Release notes
|
- Open draft in github and add Release notes
|
||||||
- For files `LosslessCut-mac-universal.pkg` and `LosslessCut-win-x64.appx` add prefix `-DO-NOT-DOWNLOAD`
|
- For files `LosslessCut-mac-universal.pkg` and `LosslessCut-win-x64.appx` add prefix `-DO-NOT-DOWNLOAD`
|
||||||
- If intended as Github, release the draft
|
- *If GitHub release*
|
||||||
- If store-only release, release the draft as **pre-release**
|
- Release the draft
|
||||||
|
- *If Store-only hotfix release*
|
||||||
|
- Remove all other artifacts and release the draft as **pre-release**
|
||||||
|
|
||||||
### After release
|
#### After releasing on GitHub
|
||||||
|
|
||||||
- If Mac App Store / Windows Store
|
- *If Stores-only hotfix release*
|
||||||
- Merge `stores` into `master`
|
- `git checkout master`
|
||||||
- Bump [snap version](https://snapcraft.io/losslesscut/listing)
|
- `git merge stores`
|
||||||
|
- Bump [snap version](https://snapcraft.io/losslesscut/releases)
|
||||||
|
|
||||||
|
### After releasing existing GitHub version in Stores
|
||||||
|
|
||||||
|
- `git checkout stores`
|
||||||
|
- Find the tag just released in the Stores
|
||||||
|
- Merge this tag (from `master`) into `stores`: `git merge vX.Y.Z`
|
||||||
|
- `git push`
|
||||||
|
- `git checkout master`
|
||||||
|
|
||||||
|
### More info
|
||||||
|
|
||||||
|
For per-platform build/signing setup, see [this article](https://mifi.no/blog/automated-electron-build-with-release-to-mac-app-store-microsoft-store-snapcraft/).
|
||||||
|
|
||||||
## Weblate
|
## Weblate
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user