Skip to content

Commit a7275f9

Browse files
author
Libor Zoubek
committed
correctly add dmd-czech-common submodule
1 parent b7788ca commit a7275f9

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

Diff for: release.sh

+7-6
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ BUILD_DIR=tmp
77
PUBLISH_DIR=repo
88
mkdir -p ${BUILD_DIR}
99

10+
echo "Updating addon submodules"
11+
git submodule init
12+
git submodule update
13+
git submodule foreach git pull origin master
14+
15+
1016
if [ -z $1 ];
1117
then
1218
echo "use -n to release addons that need it"
@@ -18,19 +24,14 @@ then
1824
else
1925
addons=$1
2026
fi
21-
echo "Updating addon submodules"
22-
git submodule init
23-
git submodule update
24-
git submodule foreach git pull origin master
25-
27+
echo "Addons to be released $addons"
2628
echo "Cleaning up *.pyc files.."
2729
find . -name '*.pyc' | xargs rm -f
2830

2931
if [ ! "$addons" ];
3032
then
3133
exit 0
3234
fi
33-
3435
for addonFile in $addons ; do
3536
dirname=$addonFile
3637
if [ ! -f $addonFile/addon.xml ] ; then

Diff for: script.module.dmd-czech.common

0 commit comments

Comments
 (0)