Skip to content

Commit 53ec047

Browse files
authored
Update create_package.sh
make sure to use latest projectGenerator in nightly create package by updating the submodule.
1 parent 37eb57b commit 53ec047

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

scripts/dev/create_package.sh

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -125,18 +125,20 @@ fi
125125

126126
cd ${pkgfolder}
127127
packageroot=$PWD
128-
129-
cd apps
130-
echo "Cloning project generator from $PG_REPO $PG_BRANCH"
131-
git clone $PG_REPO --depth=1 --branch=$PG_BRANCH 2> /dev/null
132-
gitfinishedok=$?
133-
if [ $gitfinishedok -ne 0 ]; then
134-
echo "Error connecting to github"
135-
exit 1
136-
fi
137-
138128
cd $packageroot
139129

130+
echo "Updating project generator to latest"
131+
./scripts/dev/init_submodules.sh
132+
133+
#cd apps
134+
#echo "Cloning project generator from $PG_REPO $PG_BRANCH"
135+
#git clone $PG_REPO --depth=1 --branch=$PG_BRANCH 2> /dev/null
136+
#gitfinishedok=$?
137+
#if [ $gitfinishedok -ne 0 ]; then
138+
# echo "Error connecting to github"
139+
# exit 1
140+
#fi
141+
140142
function deleteCodeblocks {
141143
#delete codeblock files
142144
rm *.cbp

0 commit comments

Comments
 (0)