Skip to content

Commit 48cda25

Browse files
authored
#1229: pull ide-urls before using it (#1230)
1 parent a3e6620 commit 48cda25

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

scripts/src/main/resources/scripts/devon-autocomplete

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ else
5151
then
5252
edition="${tool}"
5353
fi
54+
local myPwd="${PWD}"
55+
cd "${DEVON_IDE_HOME}/urls"
56+
git pull -q
57+
cd "${myPwd}"
5458
if [ -d "${DEVON_IDE_HOME}/urls/${tool}/${edition}" ]
5559
then
5660
commandlist=("$(find "${DEVON_IDE_HOME}/urls/${tool}/${edition}" -mindepth 1 -maxdepth 1 | awk -F'/' '{print $NF}' | sort -rV)")

scripts/src/main/resources/scripts/functions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1845,6 +1845,7 @@ function doSetSoftwareVersion() {
18451845
then
18461846
if [ "${version}" = "latest" ]
18471847
then
1848+
doUpdateUrls
18481849
version=$(doGetLatestSoftwareVersion "${software}")
18491850
fi
18501851
local software_version_variable="${software}"

0 commit comments

Comments
 (0)