File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 6262 if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && runner.os != 'Windows'
6363 run : |
6464 PUSHED_TAG=${GITHUB_REF##*/}
65- CURR_VER=$( grep version Cargo.toml | head -n 1 | awk '{print $3}' | tr -d '"' )
65+ CURR_VER=$( grep version crates/kiorg/ Cargo.toml | head -n 1 | awk '{print $3}' | tr -d '"' )
6666 if [[ "${PUSHED_TAG}" != "v${CURR_VER}" ]]; then
6767 echo "Cargo metadata has version set to ${CURR_VER}, but got pushed tag ${PUSHED_TAG}."
6868 exit 1
7272 if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && runner.os == 'Windows'
7373 run : |
7474 $PUSHED_TAG = (Split-Path -Path $env:GITHUB_REF -Leaf)
75- $CURR_VER_Line = Select-String -Path Cargo.toml -Pattern "version" | Select-Object -First 1
75+ $CURR_VER_Line = Select-String -Path crates/kiorg/ Cargo.toml -Pattern "version" | Select-Object -First 1
7676 if ($null -eq $CURR_VER_Line) {
77- Write-Error "Could not find 'version' in Cargo.toml"
77+ Write-Error "Could not find 'version' in crates/kiorg/ Cargo.toml"
7878 exit 1
7979 }
8080
You can’t perform that action at this time.
0 commit comments