Skip to content

Commit 3a13b53

Browse files
yakushabbMightyCreak
authored andcommitted
chore: update flatpak manifest
- Update to GNOME platform 45 - Activate test on build process
1 parent d65edf5 commit 3a13b53

File tree

3 files changed

+32
-8
lines changed

3 files changed

+32
-8
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## Unreleased
99

10+
### Changed
11+
12+
- Update from GNOME 44 to 45 (@sabriunal)
13+
- Flatpak manifest now runs the tests (@sabriunal)
14+
1015
### Removed
1116

1217
- Remove support for the SVK CVS (@MightyCreak)

docs/developers/release-process.md

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,27 @@ few manual steps.
4444
## Create new release on Flatpak
4545
4646
1. Clone the Flathub repository: <https://github.com/flathub/io.github.mightycreak.Diffuse>
47-
2. Copy the contents of Diffuse's `io.github.mightycreak.Diffuse.yml` to Flathub's
48-
3. Keep Flathub's `config-opts` and `sources` sections
49-
4. In `sources` section, change the `commit` and `tag`
50-
5. Create commit with changes and push to `master`
51-
6. Check the build on Flathub: <https://flathub.org/builds/>
52-
7. When it's done and successful, publish the build
47+
2. Copy the contents of `io.github.mightycreak.Diffuse.yml` in Diffuse repository
48+
to Flathub's
49+
3. Edit the file:
50+
- Replace the content of the `diffuse` module with these lines:
51+
52+
```yaml
53+
- name: diffuse
54+
builddir: true
55+
buildsystem: meson
56+
config-opts:
57+
- -Dlog_print_output=true
58+
- -Duse_flatpak=true
59+
sources:
60+
- type: git
61+
url: https://github.com/MightyCreak/diffuse
62+
tag: <tag>
63+
commit: <tag_commit>
64+
```
65+
66+
- Replace `<tag>` with the release tag (e.g. `v1.2.3`)
67+
- Replace `<tag_commit>` with the release tag commit (e.g. `c0cefac1c4ab99a309b65002e820f5c815e368e1`)
68+
4. Create commit with changes and push to `main`
69+
5. Check the build on Flathub: <https://flathub.org/builds/>
70+
6. When it's done and successful, publish the build

io.github.mightycreak.Diffuse.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
app-id: io.github.mightycreak.Diffuse
22
runtime: org.gnome.Platform
3-
runtime-version: '44'
3+
runtime-version: '45'
44
sdk: org.gnome.Sdk
55
command: diffuse
66
finish-args:
@@ -12,8 +12,9 @@ finish-args:
1212
- --talk-name=org.freedesktop.Flatpak
1313
modules:
1414
- name: diffuse
15-
builddir: true
1615
buildsystem: meson
16+
builddir: true
17+
run-tests: true
1718
config-opts:
1819
- -Dlog_print_output=true
1920
- -Dlog_print_stack=true

0 commit comments

Comments
 (0)