Skip to content

Commit 07f6873

Browse files
davidmatousekclaude
andcommitted
fix(086): fetch tags before reporting installed version
install.sh now runs git fetch --tags before git describe so it finds release-please tags created on GitHub. Without this, local clones that haven't fetched recently report stale versions like v4.0.0. Co-Authored-By: Claude <noreply@anthropic.com>
1 parent ad86215 commit 07f6873

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/install.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,8 @@ done < <(parse_manifest "$MANIFEST_FILE")
189189

190190
INSTALLED_VERSION="untagged"
191191
if command -v git >/dev/null 2>&1 && [ -d "${SOURCE_DIR}/.git" ]; then
192+
# Fetch tags so git describe finds release-please tags created on GitHub
193+
git -C "$SOURCE_DIR" fetch --tags --quiet 2>/dev/null || true
192194
INSTALLED_VERSION="$(git -C "$SOURCE_DIR" describe --tags --always 2>/dev/null || echo "untagged")"
193195
fi
194196

0 commit comments

Comments
 (0)