mirror of https://git.sr.ht/~ashkeel/strimertul
ci: add fileVersion
This commit is contained in:
parent
85dcb555a1
commit
c63c1d124c
|
@ -32,6 +32,15 @@ jobs:
|
|||
runs-on: ${{ matrix.build.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Process version tag
|
||||
id: version
|
||||
uses: ncipollo/semantic-version-action@v1
|
||||
- name: Update my-file.json description
|
||||
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
|
||||
uses: jossef/action-set-json-field@v2.1
|
||||
with:
|
||||
|
|
Loading…
Reference in New Issue