Merge pull request #352 from clusterfudge/master

ISSUE-351: piku script works with multiple deploy targets
pull/355/head
Chris McCormick 2024-06-12 20:51:07 +01:00 zatwierdzone przez GitHub
commit 4110c7284b
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 8 dodań i 1 usunięć

9
piku
Wyświetl plik

@ -6,7 +6,14 @@
# git config --get remote.piku.url
# git config --get remote.paas.url
gitremote=`git config --get remote.piku.url`
remote_name="piku"
if [[ "$1" == "--remote" || "$1" == "-r" ]]; then
shift
remote_name="$1"
shift
fi
gitremote=`git config --get remote.$remote_name.url`
remote=${gitremote:-"${PIKU_SERVER}:${PIKU_APP}"}
githome="https://raw.githubusercontent.com/piku/piku/master/"