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 9cca200 commit 3697011Copy full SHA for 3697011
1 file changed
.github/workflows/release.yml
@@ -69,7 +69,7 @@ jobs:
69
- name: Update version in Cargo.toml
70
run: |
71
$version = "${{ github.event.inputs.version }}"
72
- (Get-Content Cargo.toml) -replace 'version = ".*"', "version = `"$version`"" | Set-Content Cargo.toml
+ (Get-Content Cargo.toml) -replace '^version = ".*"', "version = `"$version`"" | Set-Content Cargo.toml
73
Write-Host "Updated Cargo.toml to version $version"
74
shell: pwsh
75
0 commit comments