You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .scripts/update_self.sh
+11-21Lines changed: 11 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -14,10 +14,6 @@ update_self() {
14
14
local Title="Update ${APPLICATION_NAME}"
15
15
local Question YesNotice NoNotice
16
16
17
-
RunAndLog "" BothToNull \
18
-
fatal "Failed to change directory." \
19
-
pushd"${SCRIPTPATH}"
20
-
21
17
if [[ -z${Branch-} ]];then
22
18
Branch="$(ds_branch)"
23
19
if ds_tag_exists "${Branch-}";then
@@ -42,7 +38,6 @@ update_self() {
42
38
NoNotice="${C["ApplicationName"]-}${APPLICATION_NAME}${NC-} will not be updated."
43
39
YesNotice="Updating ${C["ApplicationName"]-}${APPLICATION_NAME}${NC-} from '${C["Version"]}${CurrentVersion}${NC}' to '${C["Version"]}${RemoteVersion}${NC}'"
Copy file name to clipboardExpand all lines: .scripts/update_templates.sh
+9-19Lines changed: 9 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -11,10 +11,6 @@ update_templates() {
11
11
local Title="Update ${TargetName}"
12
12
local Question YesNotice NoNotice
13
13
14
-
RunAndLog """BothToNull" \
15
-
fatal "Failed to change directory." \
16
-
pushd"${TEMPLATES_PARENT_FOLDER}"
17
-
18
14
if [[ -z${Branch-} ]];then
19
15
Branch="$(templates_branch)"
20
16
if templates_tag_exists "${Branch-}";then
@@ -39,7 +35,6 @@ update_templates() {
39
35
NoNotice="${C["ApplicationName"]-}${TargetName}${NC-} will not be updated."
40
36
YesNotice="Updating ${C["ApplicationName"]-}${TargetName}${NC-} from '${C["Version"]}${CurrentVersion}${NC}' to '${C["Version"]}${RemoteVersion}${NC}'"
0 commit comments