fix: version is on top level now (#542)
This commit is contained in:
6
.github/workflows/tauri.yml
vendored
6
.github/workflows/tauri.yml
vendored
@@ -33,7 +33,7 @@ jobs:
|
|||||||
- name: Get app version (windows)
|
- name: Get app version (windows)
|
||||||
run: |
|
run: |
|
||||||
$json = (Get-Content "src-tauri\tauri.conf.json" -Raw) | ConvertFrom-Json
|
$json = (Get-Content "src-tauri\tauri.conf.json" -Raw) | ConvertFrom-Json
|
||||||
$version = $json.package.version
|
$version = $json.version
|
||||||
echo "Version: ${version}"
|
echo "Version: ${version}"
|
||||||
echo "TAURI_VERSION=${version}" >> $Env:GITHUB_ENV
|
echo "TAURI_VERSION=${version}" >> $Env:GITHUB_ENV
|
||||||
echo "${Env:TAURI_VERSION}"
|
echo "${Env:TAURI_VERSION}"
|
||||||
@@ -87,7 +87,7 @@ jobs:
|
|||||||
NODE_OPTIONS: "--max_old_space_size=4096"
|
NODE_OPTIONS: "--max_old_space_size=4096"
|
||||||
- name: Get app version
|
- name: Get app version
|
||||||
id: vars
|
id: vars
|
||||||
run: echo "tag=$(jq .package.version src-tauri/tauri.conf.json | tr -d '"')" >> $GITHUB_OUTPUT
|
run: echo "tag=$(jq .version src-tauri/tauri.conf.json | tr -d '"')" >> $GITHUB_OUTPUT
|
||||||
- name: Move deb
|
- name: Move deb
|
||||||
run: mv "src-tauri/target/release/bundle/deb/Cinny_${{ steps.vars.outputs.tag }}_amd64.deb" "src-tauri/target/release/bundle/deb/Cinny_desktop-x86_64.deb"
|
run: mv "src-tauri/target/release/bundle/deb/Cinny_${{ steps.vars.outputs.tag }}_amd64.deb" "src-tauri/target/release/bundle/deb/Cinny_desktop-x86_64.deb"
|
||||||
- name: Move AppImage
|
- name: Move AppImage
|
||||||
@@ -137,7 +137,7 @@ jobs:
|
|||||||
args: "--target universal-apple-darwin"
|
args: "--target universal-apple-darwin"
|
||||||
- name: Get app version
|
- name: Get app version
|
||||||
id: vars
|
id: vars
|
||||||
run: echo "tag=$(jq .package.version src-tauri/tauri.conf.json | tr -d '"')" >> $GITHUB_OUTPUT
|
run: echo "tag=$(jq .version src-tauri/tauri.conf.json | tr -d '"')" >> $GITHUB_OUTPUT
|
||||||
- name: Move dmg
|
- name: Move dmg
|
||||||
run: mv "src-tauri/target/universal-apple-darwin/release/bundle/dmg/Cinny_${{ steps.vars.outputs.tag }}_universal.dmg" "src-tauri/target/universal-apple-darwin/release/bundle/dmg/Cinny_desktop-universal.dmg"
|
run: mv "src-tauri/target/universal-apple-darwin/release/bundle/dmg/Cinny_${{ steps.vars.outputs.tag }}_universal.dmg" "src-tauri/target/universal-apple-darwin/release/bundle/dmg/Cinny_desktop-universal.dmg"
|
||||||
- name: Move app.tar.gz
|
- name: Move app.tar.gz
|
||||||
|
|||||||
Reference in New Issue
Block a user