File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 19
19
- name : Checkout code
20
20
uses : actions/checkout@v4
21
21
with :
22
- ref : " ref/heads/main"
23
22
fetch-tags : " true"
24
23
fetch-depth : " 0"
25
24
- name : Verify new release needed
29
28
CARGO_VER="v$(cargo metadata --format-version=1 --no-deps | jq '.packages[] | select(.name == "zenith-builder-example") | .version' -r)"
30
29
echo "$CARGO_VER"
31
30
# 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) )
33
32
echo "$GIT_VER"
34
33
if [ "$CARGO_VER" == "$GIT_VER" ]; then
35
34
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"
47
47
48
48
async-trait = " 0.1.80"
49
49
oauth2 = " 4.4.2"
50
+
You can’t perform that action at this time.
0 commit comments