Skip to content

Commit

Permalink
update semver version
Browse files Browse the repository at this point in the history
  • Loading branch information
Amerlander committed Dec 12, 2023
1 parent 8159618 commit 082b9ad
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/tauri.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,10 @@ jobs:
- name: Update Tauri version in tauri.conf.json
run: |
# Extract version without 'v' prefix
VERSION=$(echo "${{ github.ref_name }}" | sed 's/v//')
VERSION=$(echo "v6.0.27.6" | sed 's/v//; s/^\([0-9]\+\.[0-9]\+\.[0-9]\+\).*$/\1/')
echo $VERSION
# Update tauri.conf.json with the new version
sed -i "s/\"version\": \".*\"/\"version\": \"$VERSION\"/" src-tauri/tauri.conf.json
Expand Down

0 comments on commit 082b9ad

Please sign in to comment.