ci: add fileVersion

This commit is contained in:
Ash Keel 2023-03-31 12:19:55 +02:00
parent 85dcb555a1
commit c63c1d124c
No known key found for this signature in database
GPG Key ID: BAD8D93E7314ED3E
1 changed files with 9 additions and 0 deletions

View File

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