Переглянути джерело

Nightly build script now tries to build new launchers.

Move from ~/google to ~/working/nightly/ (Issue 3528)
I've symlinked ~/working/nightly to ~/google on renji untill everything else is done.

Change-Id: If32642e52b6287c07d2ef06e514cb0c53c779ba7
Reviewed-on: http://gerrit.dmdirc.com/509
Automatic-Compile: Gregory Holmes <greboid@dmdirc.com>
Reviewed-by: Gregory Holmes <greboid@dmdirc.com>
tags/0.6.3b1
Shane Mc Cormack 14 роки тому
джерело
коміт
56a9ce1181
3 змінених файлів з 7 додано та 3 видалено
  1. 5
    1
      BuildAll.sh
  2. 1
    1
      DoReports.sh
  3. 1
    1
      launcher/createUpdate.sh

+ 5
- 1
BuildAll.sh Переглянути файл

10
 WWWDIR="/home/dmdirc/www"
10
 WWWDIR="/home/dmdirc/www"
11
 
11
 
12
 # Path to trunk
12
 # Path to trunk
13
-MYDIR="/home/dmdirc/google"
13
+MYDIR="/home/dmdirc/working/nightly"
14
 
14
 
15
 # Path to scripts
15
 # Path to scripts
16
 SCRIPTDIR="/home/dmdirc/scripts"
16
 SCRIPTDIR="/home/dmdirc/scripts"
114
 		ln -sf "${WWWDIR}/nightly/DMDirc-${FILEDATA}.dmg" $WWWDIR/nightly/DMDirc_latest.dmg
114
 		ln -sf "${WWWDIR}/nightly/DMDirc-${FILEDATA}.dmg" $WWWDIR/nightly/DMDirc_latest.dmg
115
 	fi;
115
 	fi;
116
 	
116
 	
117
+	# Update Launchers
118
+	cd ${MYDIR}/launcher
119
+	sh ${MYDIR}/launcher/createUpdate.sh
120
+	
117
 	# Do normal reports
121
 	# Do normal reports
118
 	if [ "${IS_BAMBOO}" == "" ]; then
122
 	if [ "${IS_BAMBOO}" == "" ]; then
119
 		/bin/sh $MYDIR/DoReports.sh
123
 		/bin/sh $MYDIR/DoReports.sh

+ 1
- 1
DoReports.sh Переглянути файл

8
 env
8
 env
9
 
9
 
10
 # Path to trunk
10
 # Path to trunk
11
-MYDIR="/home/dmdirc/google"
11
+MYDIR="/home/dmdirc/working/nightly"
12
 
12
 
13
 # Path to scripts
13
 # Path to scripts
14
 SCRIPTDIR="/home/dmdirc/scripts"
14
 SCRIPTDIR="/home/dmdirc/scripts"

+ 1
- 1
launcher/createUpdate.sh Переглянути файл

1
 #!/bin/sh
1
 #!/bin/sh
2
 # This script generates the launcher updates
2
 # This script generates the launcher updates
3
-LAUNCHERDIR="/home/dmdirc/google/launcher"
3
+LAUNCHERDIR=`dirname $0`
4
 LAUNCHERUPDATEDIR="/home/dmdirc/www/updates/launchers/"
4
 LAUNCHERUPDATEDIR="/home/dmdirc/www/updates/launchers/"
5
 
5
 
6
 UNIXVERSION=`cat ${LAUNCHERDIR}/unix/DMDirc.sh | grep LAUNCHERVERSION= | awk -F\" '{print $2}'`
6
 UNIXVERSION=`cat ${LAUNCHERDIR}/unix/DMDirc.sh | grep LAUNCHERVERSION= | awk -F\" '{print $2}'`

Завантаження…
Відмінити
Зберегти