mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-22 19:23:31 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user