We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d4a490 commit 82019f3Copy full SHA for 82019f3
.github/workflows/autorelease.yml
@@ -19,7 +19,6 @@ jobs:
19
- name: Checkout code
20
uses: actions/checkout@v4
21
with:
22
- ref: "ref/heads/main"
23
fetch-tags: "true"
24
fetch-depth: "0"
25
- name: Verify new release needed
@@ -29,7 +28,7 @@ jobs:
29
28
CARGO_VER="v$(cargo metadata --format-version=1 --no-deps | jq '.packages[] | select(.name == "zenith-builder-example") | .version' -r)"
30
echo "$CARGO_VER"
31
# get latest version from git tags
32
- GIT_VER=$(git describe --tags --abbrev=0)
+ GIT_VER=$(git describe --tags $(git rev-list --tags --max-count=1))
33
echo "$GIT_VER"
34
if [ "$CARGO_VER" == "$GIT_VER" ]; then
35
echo "# No new release needed" >> $GITHUB_STEP_SUMMARY
Cargo.toml
@@ -47,3 +47,4 @@ tracing-subscriber = "0.3.18"
47
48
async-trait = "0.1.80"
49
oauth2 = "4.4.2"
50
+
0 commit comments