Skip to content
This repository has been archived by the owner on Nov 9, 2024. It is now read-only.

Commit

Permalink
trying
Browse files Browse the repository at this point in the history
  • Loading branch information
necipsagiro committed Jun 19, 2023
1 parent 7fd18d6 commit b723263
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ jobs:
- name: Update the version
run: |
sed -i 's/^version = "[^"]*"/version = "'"$(( $(echo "${{ github.ref_name }}" | sed 's/^v//') ))'"/' ./src-tauri/Cargo.toml
ref_name=$(echo "${{ github.ref_name }}" | sed 's/^v//')
sed -i "s/^version = \"[^\"]*\"/version = \"$ref_name\"/" ./src-tauri/Cargo.toml
- name: Build the app
uses: tauri-apps/tauri-action@v0
Expand Down

0 comments on commit b723263

Please sign in to comment.