A self-improving RLM agent for coding workflows and long-running autonomous tasks.
Rust
fix release tag detection (#448)
kt3053ef6bed2b
diff --git a/.github/workflows/build-binaries.yml b/.github/workflows/build-binaries.ymlindex e74e00f608..e324cf89e7 100644--- a/.github/workflows/build-binaries.yml+++ b/.github/workflows/build-binaries.yml@@ -30,6 +30,7 @@ jobs:uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0with:fetch-depth: 0+ fetch-tags: truepersist-credentials: false- name: Resolve release context@@ -58,7 +59,7 @@ jobs:version=$(node -p "require('./package.json').version")release_tag="v${version}"build_ref="$GITHUB_SHA_VALUE"- if git ls-remote --exit-code --tags origin "refs/tags/${release_tag}" >/dev/null 2>&1; then+ if git show-ref --verify --quiet "refs/tags/${release_tag}"; thenecho "Tag ${release_tag} already exists; skipping release."should_release=falsefi