feat: write version name into package.json of frontend
This commit is contained in:
parent
7fe7b8f9bc
commit
312dc47039
|
@ -56,7 +56,10 @@ jobs:
|
|||
npm install -g npm
|
||||
jq '.info.productVersion = "${{ steps.normalise_version.outputs.version }}"' wails.json > tmp.json
|
||||
mv tmp.json wails.json
|
||||
cd frontend && npm install
|
||||
cd frontend
|
||||
jq '.version = "${{ steps.normalise_version.outputs.version }}"' package.json > tmp.json
|
||||
mv tmp.json package.json
|
||||
npm install
|
||||
|
||||
- name: Build wails app for Linux
|
||||
shell: bash
|
||||
|
|
|
@ -62,7 +62,10 @@ jobs:
|
|||
npm install -g npm
|
||||
jq '.info.productVersion = "${{ steps.normalise_version.outputs.version }}"' wails.json > tmp.json
|
||||
mv tmp.json wails.json
|
||||
cd frontend && npm install
|
||||
cd frontend
|
||||
jq '.version = "${{ steps.normalise_version.outputs.version }}"' package.json > tmp.json
|
||||
mv tmp.json package.json
|
||||
npm install
|
||||
|
||||
- name: Build wails app for macOS
|
||||
shell: bash
|
||||
|
|
|
@ -55,7 +55,10 @@ jobs:
|
|||
npm install -g npm
|
||||
jq '.info.productVersion = "${{ steps.normalise_version.outputs.version }}"' wails.json > tmp.json
|
||||
mv tmp.json wails.json
|
||||
cd frontend && npm install
|
||||
cd frontend
|
||||
jq '.version = "${{ steps.normalise_version.outputs.version }}"' package.json > tmp.json
|
||||
mv tmp.json package.json
|
||||
npm install
|
||||
|
||||
- name: Build Windows portable app
|
||||
shell: bash
|
||||
|
|
Loading…
Reference in New Issue