2.1 KiB
2.1 KiB
Release process
I'd wish the release process to be more automated, but for now it's still a few manual steps.
Prepare the PR for the new release
Edit files
- Find the next version, using semantic versioning (e.g.
1.2.3
), depending on the changes in the changelog - Execute
./new_release NEW_VERSION
(replaceNEW_VERSION
with the new version) - Update the AppData release notes in data/io.github.mightycreak.Diffuse.appdata.xml.in:
- Look for the empty
<p>
tag under the new<release>
tag - Add a paragraph to sum the release in one sentence (e.g. highlights, ...)
- Paste the changes from CHANGELOG.md and adapt it to HTML (see other releases in the file)
- Look for the empty
Create branch, PR and merge
- Create a new branch (e.g.
release-1.2.3
) - Create a new PR
- When everything's green: merge the PR
Create new release on GitHub
-
Create a new release on GitHub's new release page:
- Choose a tag:
v
followed with the new version (e.g.v1.2.3
) - 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:
-
Publish release
Create new release on Flatpak
- Clone the Flathub repository: https://github.com/flathub/io.github.mightycreak.Diffuse
- Copy the contents of Diffuse's
io.github.mightycreak.Diffuse.yml
to Flathub's - Keep Flathub's
config-opts
andsources
sections - In
sources
section, change thecommit
andtag
- 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