1
0
Fork 0
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:
Ash Keel 2023-03-31 12:28:03 +02:00
parent c63c1d124c
commit edecab18cf
No known key found for this signature in database
GPG key ID: BAD8D93E7314ED3E

View file

@ -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