File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -36,14 +36,14 @@ jobs:
3636 - name : check versions
3737 id : versions
3838 run : |
39- BIN_VERSION=$(grep '^version' rb /Cargo.toml | head -n 1 | awk '{print $3}' | tr -d '"')
40- LIB_VERSION=$(grep '^version' rl /Cargo.toml | head -n 1 | awk '{print $3}' | tr -d '"')
39+ BIN_VERSION=$(grep '^version' ${{ env.BIN }} /Cargo.toml | head -n 1 | awk '{print $3}' | tr -d '"')
40+ LIB_VERSION=$(grep '^version' ${{ env.LIB }} /Cargo.toml | head -n 1 | awk '{print $3}' | tr -d '"')
4141
4242 echo "BIN_VERSION=${BIN_VERSION}" >> $GITHUB_OUTPUT
4343 echo "LIB_VERSION=${LIB_VERSION}" >> $GITHUB_OUTPUT
4444
45- PREV_BIN_VERSION=$(git show origin/main^:rb /Cargo.toml | grep '^version' | head -n 1 | awk '{print $3}' | tr -d '"')
46- PREV_LIB_VERSION=$(git show origin/main^:rl /Cargo.toml | grep '^version' | head -n 1 | awk '{print $3}' | tr -d '"')
45+ PREV_BIN_VERSION=$(git show origin/main^:${{ env.BIN }} /Cargo.toml | grep '^version' | head -n 1 | awk '{print $3}' | tr -d '"')
46+ PREV_LIB_VERSION=$(git show origin/main^:${{ env.LIB }} /Cargo.toml | grep '^version' | head -n 1 | awk '{print $3}' | tr -d '"')
4747
4848 if [[ "${PREV_BIN_VERSION}" != "${BIN_VERSION}" ]]; then
4949 echo "BIN_VERSION_CHANGED=true" >> $GITHUB_OUTPUT
Original file line number Diff line number Diff line change 11[package ]
22name = " nail"
3- version = " 0.4 .0"
3+ version = " 0.3 .0"
44authors = [" Jack Roddy <jack.w.roddy@gmail.com>" ]
55edition = " 2021"
66license = " BSD-3-Clause"
You can’t perform that action at this time.
0 commit comments