There was an error while loading. Please reload this page.
1 parent 78a3b9a commit 25c04cfCopy full SHA for 25c04cf
1 file changed
.github/workflows/release-cli.yml
@@ -112,8 +112,8 @@ jobs:
112
- name: Get version from Cargo.toml
113
id: version
114
run: |
115
- # Extract version from Cargo.toml
116
- VERSION=$(grep '^version = ' renamify-cli/Cargo.toml | sed 's/version = "\(.*\)"/\1/')
+ # Extract version from workspace Cargo.toml (since renamify-cli uses workspace version)
+ VERSION=$(grep '^version = ' Cargo.toml | head -1 | sed 's/version = "\(.*\)"/\1/')
117
echo "version=$VERSION" >> $GITHUB_OUTPUT
118
119
if [ "${{ github.event_name }}" = "push" ]; then
0 commit comments