File tree 2 files changed +15
-4
lines changed
2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ addons:
30
30
- libqt4-dev
31
31
- libx11-dev
32
32
- pkg-config
33
+ - wget
33
34
34
35
jobs :
35
36
include :
54
55
make
55
56
package_source
56
57
VERBOSE=1
58
+ - bash -x ./test/diffdist.sh
57
59
Original file line number Diff line number Diff line change @@ -19,9 +19,18 @@ VERSION_PATCH=$(grep VERSION_PATCH $SRCDIR/CMakeLists.txt | head -1 | awk -F\" '
19
19
VERSION=" $VERSION_MAJOR .$VERSION_MINOR .$VERSION_PATCH "
20
20
PREV_VERSION_PATCH=" $( expr $VERSION_PATCH - 1) "
21
21
PREV_VERSION=" $VERSION_MAJOR .$VERSION_MINOR .$PREV_VERSION_PATCH "
22
- echo " Compare versions $PREV_VERSION $VERSION "
23
22
zcat $DSTDIR /ibus-qt-${VERSION} -Source.tar.gz | tar xf -
24
- wget https://github.com/ibus/ibus-qt/releases/download/$PREV_VERSION /ibus-qt-${PREV_VERSION} -Source.tar.gz
25
- zcat ibus-qt-${PREV_VERSION} -Source.tar.gz | tar xf -
26
- diff -r ibus-qt-${PREV_VERSION} -Source ibus-qt-${VERSION} -Source || :
23
+ mv ibus-qt-${VERSION} -Source ibus-qt-${VERSION} -Source-new
24
+ echo " Get upstream ibus-qt-${VERSION} -Source.tar.gz"
25
+ wget https://github.com/ibus/ibus-qt/releases/download/$VERSION /ibus-qt-${VERSION} -Source.tar.gz
26
+ if [ $? -ne 0 ] ; then
27
+ # This is a bumped commit CI.
28
+ echo " Get upstream ibus-qt-${PREV_VERSION} -Source.tar.gz"
29
+ wget https://github.com/ibus/ibus-qt/releases/download/$PREV_VERSION /ibus-qt-${PREV_VERSION} -Source.tar.gz
30
+ DST_VERSION=$PREV_VERSION
31
+ else
32
+ DST_VERSION=$VERSION
33
+ fi
34
+ zcat ibus-qt-${DST_VERSION} -Source.tar.gz | tar xf -
35
+ diff -r ibus-qt-${DST_VERSION} -Source ibus-qt-${VERSION} -Source-new || :
27
36
You can’t perform that action at this time.
0 commit comments