File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1919 - name : Checkout code
2020 uses : actions/checkout@v4
2121 with :
22- ref : " ref/heads/main"
2322 fetch-tags : " true"
2423 fetch-depth : " 0"
2524 - name : Verify new release needed
2928 CARGO_VER="v$(cargo metadata --format-version=1 --no-deps | jq '.packages[] | select(.name == "zenith-builder-example") | .version' -r)"
3029 echo "$CARGO_VER"
3130 # get latest version from git tags
32- GIT_VER=$(git describe --tags --abbrev=0 )
31+ GIT_VER=$(git describe --tags $(git rev-list --tags --max-count=1) )
3332 echo "$GIT_VER"
3433 if [ "$CARGO_VER" == "$GIT_VER" ]; then
3534 echo "# No new release needed" >> $GITHUB_STEP_SUMMARY
Original file line number Diff line number Diff line change @@ -47,3 +47,4 @@ tracing-subscriber = "0.3.18"
4747
4848async-trait = " 0.1.80"
4949oauth2 = " 4.4.2"
50+
You can’t perform that action at this time.
0 commit comments