mirror of
https://git.sr.ht/~ashkeel/strimertul
synced 2024-09-18 01:50:50 +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:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Process version tag
|
||||
id: version
|
||||
uses: ncipollo/semantic-version-action@v1
|
||||
- name: Update my-file.json description
|
||||
id: semver
|
||||
uses: Steffo99/actions-semver@v0.2.0
|
||||
with:
|
||||
string: ${{ github.ref_name }}
|
||||
- name: Update wails.json fileVersion
|
||||
uses: jossef/action-set-json-field@v2.1
|
||||
with:
|
||||
file: wails.json
|
||||
field: info.fileVersion
|
||||
value: "${{ steps.version.major }}.${{ steps.version.minor }}.${{ steps.version.patch }}.${{ steps.version.micro_patch }}"
|
||||
- name: Update wails.json version
|
||||
value: "${{ steps.version.outputs.core }}.0"
|
||||
- name: Update wails.json productVersion
|
||||
uses: jossef/action-set-json-field@v2.1
|
||||
with:
|
||||
file: wails.json
|
||||
|
|
Loading…
Reference in a new issue