File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 7
7
- TAR_FILE_NAME="$BINNAME-$TRAVIS_OS_NAME-$TRAVIS_COMMIT.tar.gz"
8
8
- BUCKETPATH="travisci/shader-labs/$TRAVIS_OS_NAME"
9
9
- VER=`expr match "$TRAVIS_TAG" '.*\([0-9]\.[0-9]\.[0-9]\)'`
10
- - PACK_FILE_NAME="$BINNAME\_$ VER.deb"
10
+ - PACK_FILE_NAME="${ BINNAME}_${ VER} .deb"
11
11
12
12
jobs :
13
13
include :
46
46
- sh -e /etc/init.d/xvfb start
47
47
- sudo apt-get update -q
48
48
- wget "https://s3.amazonaws.com/$ARTIFACTS_BUCKET/$BUCKETPATH/$PACK_FILE_NAME"
49
- - sudo dpkg -i ./$TAR_FILE_NAME
50
- - sudo apt-get install -f
49
+ - sudo dpkg -i ./$PACK_FILE_NAME && sudo apt-get install -fy
51
50
- shaderlabs &
52
51
53
52
deploy :
Original file line number Diff line number Diff line change 3
3
4
4
#define SL_VERSION_MAJOR 1
5
5
#define SL_VERSION_MINOR 2
6
- #define SL_VERSION_REV 2
6
+ #define SL_VERSION_REV 3
7
7
8
8
#endif // SLVERSION_H
Original file line number Diff line number Diff line change 2
2
3
3
APPPATH=" build/app"
4
4
DEBPATH=" $APPPATH /DEBIAN"
5
- BINPATH=usr/$BINNAME /$BINNAME -$VERSION /
5
+ BINPATH=usr/$BINNAME /$BINNAME -$VER
6
6
7
7
mkdir $DEBPATH
8
8
@@ -22,7 +22,7 @@ Description: ShaderLabs is a IDE for GLSL experimentation
22
22
EOM
23
23
24
24
cat > " $DEBPATH /postinst" << EOM
25
- ln -sf /$BINPATH /$BINNAME /usr/$BINNAME
25
+ ln -sf /$BINPATH /bin/ $BINNAME /usr/bin /$BINNAME
26
26
EOM
27
27
28
28
chmod +x $DEBPATH /postinst
You can’t perform that action at this time.
0 commit comments