mirror of
https://github.com/tiny-craft/tiny-rdm.git
synced 2025-05-14 00:08:04 +08:00
feat: write version name into package.json of frontend
This commit is contained in:
parent
7fe7b8f9bc
commit
312dc47039
5
.github/workflows/release-linux.yaml
vendored
5
.github/workflows/release-linux.yaml
vendored
@ -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
|
||||
|
5
.github/workflows/release-macos.yaml
vendored
5
.github/workflows/release-macos.yaml
vendored
@ -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
|
||||
|
5
.github/workflows/release-windows.yaml
vendored
5
.github/workflows/release-windows.yaml
vendored
@ -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…
x
Reference in New Issue
Block a user