Creating a new Session Desktop release is very simple.
- Bump up the version in
package.json
. - Merge all changes required into the
master
branch.- This will trigger github actions to start building a draft release
- After github actions has finished building. Go to Release page in the repository.
- Click on the draft release and change the tag target to
master
. - Add in release notes.
- Generate gpg signatures.
- Click publish release.
Artifacts attached in the release shouldn't be deleted! These include the yml files (latest, latest-mac, latest-linux). These are all necessary to get auto updating to work correctly.
Mac currently uses 2 formats dmg
and zip
.
We need the zip
format for auto updating to work correctly.
We also need the dmg
because on MacOS Catalina, there is a system bug where extracting the artifact zip
using the default Archive Utility will make it so the extracted application is invalid and it will fail to open. A work around for this is to extract the zip
using an alternate program such as The Unarchiver.
Once this bug is fixed we can go back to using the zip
format by itself.
Flatpak generation is different from the normal build process and thus must be done once we have the final build binaries.
- Clone https://github.com/flathub/network.loki.Session
- Update
network.loki.Session.metainfo.xml
with the release information<release version="[version]" date="[date]"/>
- Update
network.loki.Session.json
- Under
sources
, change theurl
so it points to the latestdeb
and update thesha256
signature.
- Under
- Create a pull request with the changes
Once that is done, a developer will go in a review them before merging them in which will trigger a build and release into the flathub repo.