We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a53505 commit 1a11495Copy full SHA for 1a11495
1 file changed
.github/workflows/release.yml
@@ -58,8 +58,9 @@ jobs:
58
run: |
59
git config user.name "github-actions[bot]"
60
git config user.email "github-actions[bot]@users.noreply.github.com"
61
- git add package.json package-lock.json src-tauri/Cargo.toml src-tauri/Cargo.lock src-tauri/tauri.conf.json
62
- git commit -m "chore: bump version to ${{ inputs.version }}"
+ git add package.json package-lock.json src-tauri/Cargo.toml src-tauri/tauri.conf.json
+ git add src-tauri/Cargo.lock 2>/dev/null || true
63
+ git diff --cached --quiet && echo "No changes to commit" || git commit -m "chore: bump version to ${{ inputs.version }}"
64
git tag "v${{ inputs.version }}"
65
git push origin main --tags
66
0 commit comments