Skip to content

Commit 8bd63e1

Browse files
authored
Merge pull request #18 from TheUncharted/develop
fix: strip trailing comment from version extraction in release workflow
2 parents f2cb358 + 12ea165 commit 8bd63e1

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
@@ -251,7 +251,7 @@ jobs:
251251
- uses: actions/checkout@v6
252252
- name: Get version from Cargo.toml
253253
id: version
254-
run: echo "version=$(grep '^version' Cargo.toml | head -1 | sed 's/.*"\(.*\)"/\1/')" >> "$GITHUB_OUTPUT"
254+
run: echo "version=$(grep '^version' Cargo.toml | head -1 | sed 's/.*"\(.*\)".*/\1/')" >> "$GITHUB_OUTPUT"
255255
- name: Create release
256256
uses: softprops/action-gh-release@v2
257257
with:

0 commit comments

Comments
 (0)