Skip to content

Commit 3d2b9d4

Browse files
authored
Merge pull request #26 from YunoHost-Apps/testing
Upgrade to v2025.02.05 and fix github workflow on_upstream adds PACKAGE_UPDATE.md info (related to YunoHost/apps_tools#20)
2 parents 7accbb5 + 8d92630 commit 3d2b9d4

15 files changed

+46
-39
lines changed

.github/workflows/ynh-build-on-push-to-testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
uses: softprops/action-gh-release@v2
2828
with:
2929
token: ${{ secrets.GITHUB_TOKEN }}
30-
files: ${{ steps.build_release.outputs.YNH_ARCHIVE }}
30+
files: ${{ steps.build_release.outputs.YNH_RELEASE_FILE }}
3131
tag_name: v${{ steps.pr_data.outputs.VERSION }}
3232
draft: true
3333
prerelease: false

.github/workflows/ynh-build-on-upstream-update.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
uses: softprops/action-gh-release@v2
3737
with:
3838
token: ${{ secrets.GITHUB_TOKEN }}
39-
files: ${{ steps.build_release.outputs.YNH_ARCHIVE }}
39+
files: ${{ steps.build_release.outputs.YNH_RELEASE_FILE }}
4040
fail_on_unmatched_files: true
4141
tag_name: v${{ steps.pr_data.outputs.VERSION }}
4242
draft: true
@@ -47,21 +47,11 @@ jobs:
4747
### Changelog
4848
Cf. upstream release note: ${{ steps.pr_data.outputs.URL }}
4949
50-
- name: Download built file
51-
run: |
52-
download_url=$(echo "${{fromJson(steps.draft_release.outputs.assets)[0].browser_download_url}}")
53-
wget $download_url -O release_asset
54-
55-
- name: Compute SHA256 sum of the asset
56-
id: compute_sha256
57-
run: |
58-
echo "SHASUM=$(sha256sum release_asset | awk '{ print $1 }')" >> "$GITHUB_OUTPUT"
59-
6050
- name: Replace URL & SHA256 in manifest.toml
6151
run: |
6252
sed -i -e '|\[resources.sources.ynh_build\]|,|sha256|!b' \
63-
-i -e '|url|s|=.*$|= "${{ steps.draft_release.outputs.url }}"|' \
64-
-i -e '|sha256|s|=.*$|= "${{ steps.compute_sha256.outputs.SHASUM }}"|' \
53+
-i -e '|url|s|=.*$|= "${{ steps.build_release.outputs.YNH_RELEASE_URL }}"|' \
54+
-i -e '|sha256|s|=.*$|= "${{ steps.build_release.outputs.YNH_RELEASE_SHA }}"|' \
6555
manifest.toml
6656
6757
- name: Commit changes to manifest.toml

PACKAGE_UPDATE.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
### Specific upgrade steps
2+
3+
- [ ] `/scripts/build` is still working for new upstream version or it was fixed in accordance with upstream commits diffs.
4+
- [ ] A build action for this version is successfully completed in the [Action](https://github.com/YunoHost-Apps/jsoncrack_ynh/actions) tabs.
5+
- [ ] A new [release](https://github.com/YunoHost-Apps/jsoncrack_ynh/releases) is published with the new build attached
6+
- [ ] `url` and `sha256` fields under `[resources.sources.ynh_build]` section in `manifest.toml` are updated to match the file attached in the new release.
7+
- [ ] CI test is successful
8+
9+
Read this app's specific [upgrade documentation](https://github.com/YunoHost-Apps/jsoncrack_ynh/wiki/How-to-apply-upstream-upgrades-to-this-package) for more information.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ JSON Crack is a tool for visualizing JSON, YAML, CSV, XML, and TOML data in inte
2929
- Privacy: All data processing is performed client-side; nothing is stored on the server.
3030

3131

32-
**Shipped version:** 2024.12.12~ynh6
32+
**Shipped version:** 2024.12.12~ynh7
3333

3434
**Demo:** <https://jsoncrack.com/editor>
3535

README_es.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ JSON Crack is a tool for visualizing JSON, YAML, CSV, XML, and TOML data in inte
2929
- Privacy: All data processing is performed client-side; nothing is stored on the server.
3030

3131

32-
**Versión actual:** 2024.12.12~ynh6
32+
**Versión actual:** 2024.12.12~ynh7
3333

3434
**Demo:** <https://jsoncrack.com/editor>
3535

README_eu.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ JSON Crack is a tool for visualizing JSON, YAML, CSV, XML, and TOML data in inte
2929
- Privacy: All data processing is performed client-side; nothing is stored on the server.
3030

3131

32-
**Paketatutako bertsioa:** 2024.12.12~ynh6
32+
**Paketatutako bertsioa:** 2024.12.12~ynh7
3333

3434
**Demoa:** <https://jsoncrack.com/editor>
3535

README_fr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ JSON Crack est un outil pour visualiser des données JSON, YAML, CSV, XML et TOM
2929
- Confidentialité: Traitement des données côté client, rien n'est enregistré sur le serveur.
3030

3131

32-
**Version incluse :** 2024.12.12~ynh6
32+
**Version incluse :** 2024.12.12~ynh7
3333

3434
**Démo :** <https://jsoncrack.com/editor>
3535

README_gl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ JSON Crack is a tool for visualizing JSON, YAML, CSV, XML, and TOML data in inte
2929
- Privacy: All data processing is performed client-side; nothing is stored on the server.
3030

3131

32-
**Versión proporcionada:** 2024.12.12~ynh6
32+
**Versión proporcionada:** 2024.12.12~ynh7
3333

3434
**Demo:** <https://jsoncrack.com/editor>
3535

README_id.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ JSON Crack is a tool for visualizing JSON, YAML, CSV, XML, and TOML data in inte
2929
- Privacy: All data processing is performed client-side; nothing is stored on the server.
3030

3131

32-
**Versi terkirim:** 2024.12.12~ynh6
32+
**Versi terkirim:** 2024.12.12~ynh7
3333

3434
**Demo:** <https://jsoncrack.com/editor>
3535

README_nl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ JSON Crack is a tool for visualizing JSON, YAML, CSV, XML, and TOML data in inte
2929
- Privacy: All data processing is performed client-side; nothing is stored on the server.
3030

3131

32-
**Geleverde versie:** 2024.12.12~ynh6
32+
**Geleverde versie:** 2024.12.12~ynh7
3333

3434
**Demo:** <https://jsoncrack.com/editor>
3535

0 commit comments

Comments
 (0)