Skip to content

Commit 8a77d39

Browse files
Fixed cargo version extract
1 parent e51d5b9 commit 8a77d39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
run: |
3131
set -euo pipefail
3232
33-
version="$(sed -n 's/^version = \"\\([^\"]*\\)\"$/\\1/p' src-tauri/Cargo.toml | head -n 1)"
33+
version="$(rg '^version = \"' src-tauri/Cargo.toml | head -n 1 | cut -d '\"' -f 2)"
3434
3535
if [[ -z "${version}" ]]; then
3636
echo "Could not read version from src-tauri/Cargo.toml" >&2

0 commit comments

Comments
 (0)