mirror of
https://github.com/tiny-craft/tiny-rdm.git
synced 2025-12-24 13:27:51 +08:00
feat: write version name into package.json of frontend
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user