mirror of
https://git.sr.ht/~ashkeel/strimertul
synced 2024-09-20 02:00:49 +00:00
ci: use another parser for version info
This commit is contained in:
parent
c63c1d124c
commit
edecab18cf
1 changed files with 7 additions and 5 deletions
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
|
@ -33,15 +33,17 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Process version tag
|
- name: Process version tag
|
||||||
id: version
|
id: semver
|
||||||
uses: ncipollo/semantic-version-action@v1
|
uses: Steffo99/actions-semver@v0.2.0
|
||||||
- name: Update my-file.json description
|
with:
|
||||||
|
string: ${{ github.ref_name }}
|
||||||
|
- name: Update wails.json fileVersion
|
||||||
uses: jossef/action-set-json-field@v2.1
|
uses: jossef/action-set-json-field@v2.1
|
||||||
with:
|
with:
|
||||||
file: wails.json
|
file: wails.json
|
||||||
field: info.fileVersion
|
field: info.fileVersion
|
||||||
value: "${{ steps.version.major }}.${{ steps.version.minor }}.${{ steps.version.patch }}.${{ steps.version.micro_patch }}"
|
value: "${{ steps.version.outputs.core }}.0"
|
||||||
- name: Update wails.json version
|
- name: Update wails.json productVersion
|
||||||
uses: jossef/action-set-json-field@v2.1
|
uses: jossef/action-set-json-field@v2.1
|
||||||
with:
|
with:
|
||||||
file: wails.json
|
file: wails.json
|
||||||
|
|
Loading…
Reference in a new issue