File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ function update_github {
9292
9393function update_webpage {
9494 if [[ $version =~ -p re[0-9]+$ ]]; then
95- if [[ " $org_name " = " swan-bitcoin" ]]; then
95+ if [[ " $static_repo_org_name " = " swan-bitcoin" ]]; then
9696 echo " The version has a pre-release suffix. Exiting..."
9797 return 0
9898 fi
@@ -101,7 +101,7 @@ function update_webpage {
101101 if ! [[ -d ../../specter-static ]]; then
102102 echo " You don't have cloned the specter-static repo."
103103 echo " doing that now"
104- git clone
[email protected] :
swan-bitcoin /specter-static.git
104+ git clone
[email protected] :
${static_repo_org_name} /specter-static.git
105105 specter_static_folder=./specter-static
106106 else
107107 specter_static_folder=../../specter-static
@@ -198,7 +198,9 @@ while [[ $# -gt 0 ]]
198198done
199199
200200if [[ " $org_name " = " cryptoadvance" ]]; then
201- org_name=swan-bitcoin # that's where the original specter-static is hosted
201+ static_repo_org_name=swan-bitcoin # that's where the original specter-static is hosted
202+ else
203+ static_repo_org_name=$org_name # test-repos are assumed to be hosted in the same org than the specter-desktop repo
202204fi
203205
204206if [[ -z " $version " ]]; then
You can’t perform that action at this time.
0 commit comments