Skip to content

Commit e972139

Browse files
authored
identifying which PG version is used in nightly builds (#8121)
1 parent 41acbd1 commit e972139

File tree

2 files changed

+20
-5
lines changed

2 files changed

+20
-5
lines changed

scripts/ci/package_builds.sh

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,30 +12,38 @@ fi
1212

1313
ROOT=$(realpath "$ROOT")
1414

15-
15+
echo "##[group]apt update"
1616
if [[ "$(uname -s)" == "Linux" ]]; then
17-
sudo apt-get -y install aptitude
1817
#for ubuntu 22.04 we need to install wine32
1918
#sudo dpkg --add-architecture i386
2019
sudo apt-get update
21-
sudo aptitude -y install wine64
20+
sudo aptitude -y install wine64 aptitude
2221
fi
22+
echo "##[endgroup]"
23+
24+
echo "##[group]ls"
2325
echo "Where is ROOT: $ROOT"
2426
cd $ROOT
2527
ls
2628

29+
2730
OUTPUT_FOLDER=$ROOT/out
2831
mkdir -p $OUTPUT_FOLDER
2932

3033
lastversion=$(date +%Y%m%d)
3134
if [ -n "$1" ] && [ "$1" != "nightly" ]; then
32-
lastversion=$1
35+
lastversion=$1
3336
fi
37+
echo "##[endgroup]"
3438

39+
echo "##[group]submodule update and pull"
3540
git submodule update --init --recursive
3641
git submodule update --recursive --remote
3742
cd apps/projectGenerator
3843
git pull origin master
44+
echo "##[endgroup]"
45+
46+
echo "##[group]create package"
3947
cd $OUTPUT_FOLDER
4048
pwd
4149
if [[ "$(uname -s)" == "Linux" ]]; then
@@ -50,6 +58,8 @@ if [[ "$(uname -s)" == "Linux" ]]; then
5058
fi
5159
$ROOT/scripts/dev/create_package.sh osx $lastversion master
5260
$ROOT/scripts/dev/create_package.sh ios $lastversion master
61+
echo "##[endgroup]"
62+
5363
# $ROOT/scripts/dev/create_package.sh macos $lastversion master
5464

5565
ls -la

scripts/dev/create_package.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,12 @@ function createProjectFiles {
195195

196196
if [ -f "${main_ofroot}/apps/projectGenerator/commandLine/bin/projectGenerator" ]; then
197197
echo "projectGenerator exists..."
198-
${main_ofroot}/apps/projectGenerator/commandLine/bin/projectGenerator --recursive -p${pg_platform} -o$pkg_ofroot $pkg_ofroot/examples > /dev/null
198+
199+
echo "##[group]PG building example projects"
200+
# ${main_ofroot}/apps/projectGenerator/commandLine/bin/projectGenerator --recursive -p${pg_platform} -o$pkg_ofroot $pkg_ofroot/examples > /dev/null
201+
${main_ofroot}/apps/projectGenerator/commandLine/bin/projectGenerator --recursive -p${pg_platform} -o$pkg_ofroot $pkg_ofroot/examples
202+
echo "##[endgroup]"
203+
199204
else
200205
echo "projectGenerator does not exist. Continue."
201206
ls ${main_ofroot}/apps/projectGenerator/commandLine/bin/

0 commit comments

Comments
 (0)