mirror of
https://github.com/tiny-craft/tiny-rdm.git
synced 2025-12-24 13:27:51 +08:00
chore: keep name the same as outputfilename in wails.json
This commit is contained in:
3
.github/workflows/release-linux.yaml
vendored
3
.github/workflows/release-linux.yaml
vendored
@@ -93,7 +93,8 @@ jobs:
|
||||
shell: bash
|
||||
run: |
|
||||
content=$(cat build/linux/tiny-rdm_0.0.0_amd64/DEBIAN/control)
|
||||
content=$(echo "$content" | sed -e "s/{{.Name}}/$(jq -r '.name' wails.json)/g")
|
||||
name=$(jq -r '.name' wails.json | tr -d ' ' | tr '[:upper:]' '[:lower:]')
|
||||
content=$(echo "$content" | sed -e "s/{{.Name}}/$name/g")
|
||||
content=$(echo "$content" | sed -e "s/{{.Info.ProductVersion}}/$(jq -r '.info.productVersion' wails.json)/g")
|
||||
content=$(echo "$content" | sed -e "s/{{.Author.Name}}/$(jq -r '.author.name' wails.json)/g")
|
||||
content=$(echo "$content" | sed -e "s/{{.Author.Email}}/$(jq -r '.author.email' wails.json)/g")
|
||||
|
||||
Reference in New Issue
Block a user