fix: use full GitHub URL when validating version tags during fresh install

- Fixes 'origin does not appear to be a git repository' error
- Allows --version flag to work properly during fresh installations
This commit is contained in:
courtmanr@gmail.com
2025-05-29 23:30:27 +01:00
parent 6de974ebff
commit 52ebb9baa3
+1 -1
View File
@@ -1832,7 +1832,7 @@ case "$INSTALL_MODE" in
print_info "Starting installation..."
if [ -n "$SPECIFIED_VERSION_TAG" ]; then
if ! git ls-remote --tags --exit-code origin "refs/tags/$SPECIFIED_VERSION_TAG"; then
if ! git ls-remote --tags --exit-code https://github.com/rcourtman/Pulse.git "refs/tags/$SPECIFIED_VERSION_TAG"; then
print_error "Specified version tag '$SPECIFIED_VERSION_TAG' not found on remote repository."
exit 1
else