Skip to content

Commit dd4833c

Browse files
committed
ci: Attempt to dynamically display supported TB versions in releases page
1 parent 015b1f0 commit dd4833c

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/main.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ jobs:
2020
file: manifest.json
2121
field: version
2222
value: ${{ steps.tag_version.outputs.new_tag }}
23+
- name: Read manifest.json into cache
24+
id: manifest_props
25+
uses: ActionsTools/read-json-action@main
26+
with:
27+
file_path: manifest.json
28+
prop_path: "browser_specific_settings.gecko"
2329
- name: Package root repository contents as a ZIP file.
2430
uses: TheDoctor0/zip-release@0.7.1
2531
with:
@@ -34,7 +40,12 @@ jobs:
3440
tag: ${{ steps.tag_version.outputs.new_tag }}
3541
name: Release ${{ steps.tag_version.outputs.new_tag }}
3642
body: |
37-
> You can download the extension in Firefox by right-clicking the ".xpi" file and selecting "Save Link As...".
43+
This release supports the following Thunderbird versions:
44+
- min (inclusive) v${{ steps.manifest_props.outputs.value.strict_min_version }}
45+
- max (inclusive) v${{ steps.manifest_props.outputs.value.strict_max_version }}
46+
47+
> You can download the extension by right-clicking the ".xpi" file below and selecting "Save Link As...".
3848
49+
## Changelog
3950
${{ steps.tag_version.outputs.changelog }}
4051

0 commit comments

Comments
 (0)