fix(cicd): forgot to change the refs to master in code
This commit is contained in:
parent
f6feded2da
commit
390df241de
|
@ -2,11 +2,11 @@ name: CI
|
||||||
|
|
||||||
# Controls when the action will run.
|
# Controls when the action will run.
|
||||||
on:
|
on:
|
||||||
# Triggers the workflow on push or pull request events but only for the master branch
|
# Triggers the workflow on push or pull request events but only for the default branch
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [ main ]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ main ]
|
||||||
|
|
||||||
# Allows you to run this workflow manually from the Actions tab
|
# Allows you to run this workflow manually from the Actions tab
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#
|
#
|
||||||
# Source: https://github.com/github/gitignore/blob/master/Python.gitignore
|
# Source: https://github.com/github/gitignore/blob/main/Python.gitignore
|
||||||
#
|
#
|
||||||
|
|
||||||
# Byte-compiled / optimized / DLL files
|
# Byte-compiled / optimized / DLL files
|
||||||
|
|
|
@ -23,11 +23,11 @@
|
||||||
|
|
||||||
<screenshots>
|
<screenshots>
|
||||||
<screenshot type="default">
|
<screenshot type="default">
|
||||||
<image type="source">https://github.com/MightyCreak/diffuse/raw/master/docs/images/screenshot_v0.7.7_main_window.png</image>
|
<image type="source">https://github.com/MightyCreak/diffuse/raw/main/docs/images/screenshot_v0.7.7_main_window.png</image>
|
||||||
<caption>Main window</caption>
|
<caption>Main window</caption>
|
||||||
</screenshot>
|
</screenshot>
|
||||||
<screenshot>
|
<screenshot>
|
||||||
<image type="source">https://github.com/MightyCreak/diffuse/raw/master/docs/images/screenshot_v0.7.7_about_window.png</image>
|
<image type="source">https://github.com/MightyCreak/diffuse/raw/main/docs/images/screenshot_v0.7.7_about_window.png</image>
|
||||||
<caption>About window</caption>
|
<caption>About window</caption>
|
||||||
</screenshot>
|
</screenshot>
|
||||||
</screenshots>
|
</screenshots>
|
||||||
|
|
|
@ -39,19 +39,19 @@ few manual steps.
|
||||||
- Release title: the tag (e.g. `v1.2.3`)
|
- Release title: the tag (e.g. `v1.2.3`)
|
||||||
- Description:
|
- Description:
|
||||||
- For the first paragraph, paste the first paragraph from the release notes
|
- For the first paragraph, paste the first paragraph from the release notes
|
||||||
- For the second paragraph, got to [CHANGELOG.md](https://github.com/MightyCreak/diffuse/blob/master/CHANGELOG.md)
|
- For the second paragraph, got to [CHANGELOG.md](https://github.com/MightyCreak/diffuse/blob/main/CHANGELOG.md)
|
||||||
and copy the URL anchor to the new release, then add this sentence
|
and copy the URL anchor to the new release, then add this sentence
|
||||||
(adapt the changelog link):
|
(adapt the changelog link):
|
||||||
> For a more detailed list of changes, see the
|
> For a more detailed list of changes, see the
|
||||||
> [changelog](https://github.com/MightyCreak/diffuse/blob/master/CHANGELOG.md#xyz---yyyy-mm-dd).
|
> [changelog](https://github.com/MightyCreak/diffuse/blob/main/CHANGELOG.md#xyz---yyyy-mm-dd).
|
||||||
3. Publish release
|
3. Publish release
|
||||||
|
|
||||||
## Create new release on Flatpak
|
## Create new release on Flatpak
|
||||||
|
|
||||||
1. Clone the Flathub repository: https://github.com/flathub/io.github.mightycreak.Diffuse
|
1. Clone the Flathub repository: <https://github.com/flathub/io.github.mightycreak.Diffuse>
|
||||||
2. Copy the contents of Diffuse's `io.github.mightycreak.Diffuse.yml` to Flathub's
|
2. Copy the contents of Diffuse's `io.github.mightycreak.Diffuse.yml` to Flathub's
|
||||||
3. Keep Flathub's `config-opts` and `sources` sections
|
3. Keep Flathub's `config-opts` and `sources` sections
|
||||||
4. In `sources` section, change the `commit` and `tag`
|
4. In `sources` section, change the `commit` and `tag`
|
||||||
5. Create commit with changes and push to `master`
|
5. Create commit with changes and push to `master`
|
||||||
6. Check the build on Flathub: https://flathub.org/builds/
|
6. Check the build on Flathub: <https://flathub.org/builds/>
|
||||||
7. When it's done and successful, publish the build
|
7. When it's done and successful, publish the build
|
||||||
|
|
Loading…
Reference in New Issue