I'd wish the release process to be more automated, but for now it's still a few manual steps.
- Find the next version, using semantic versioning (e.g.
1.2.3), depending on the changes in the changelog - Execute
./new_release.sh NEW_VERSION(replaceNEW_VERSIONwith the new version) - Update the AppData release notes in
data/io.github.mightycreak.Diffuse.appdata.xml.in:- Look for the
<description>tag under the new<release>tag - Sum the release in one sentence in the
<p>tag (e.g. highlights, ...) - Paste the changes from CHANGELOG.md, and adapt it to HTML (see other releases in the file)
- Look for the
- Create a new branch (e.g.
release-1.2.3) - Create a new PR
- When everything's green: merge the PR
-
Create a new release on GitHub's new release page:
- Choose a tag: Enter
vfollowed with the new version (e.g.v1.2.3) and create the tag - Release title: the tag (e.g.
v1.2.3) - Description:
-
For the first paragraph, paste the first paragraph from the release notes
-
For the second paragraph, got to CHANGELOG.md and copy the URL anchor to the new release, then add this sentence (adapt the changelog link):
For a more detailed list of changes, see the [changelog](https://github.com/MightyCreak/diffuse/blob/main/CHANGELOG.md#xyz---yyyy-mm-dd).
-
- Choose a tag: Enter
-
Publish release
- Clone the Flathub repository: https://github.com/flathub/io.github.mightycreak.Diffuse
- Copy the contents of Diffuse's
io.github.mightycreak.Diffuse.ymlto Flathub's - Keep Flathub's
config-optsandsourcessections - In
sourcessection, change thecommitandtag - Create commit with changes and push to
master - Check the build on Flathub: https://flathub.org/builds/
- When it's done and successful, publish the build