Skip to content

Commit f811d0f

Browse files
committed
altera a versao
1 parent 9ac2940 commit f811d0f

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ env:
77
- TAR_FILE_NAME="$BINNAME-$TRAVIS_OS_NAME-$TRAVIS_COMMIT.tar.gz"
88
- BUCKETPATH="travisci/shader-labs/$TRAVIS_OS_NAME"
99
- 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"
1111

1212
jobs:
1313
include:
@@ -46,8 +46,7 @@ jobs:
4646
- sh -e /etc/init.d/xvfb start
4747
- sudo apt-get update -q
4848
- 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
5150
- shaderlabs &
5251

5352
deploy:

headers/SLVersion.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33

44
#define SL_VERSION_MAJOR 1
55
#define SL_VERSION_MINOR 2
6-
#define SL_VERSION_REV 2
6+
#define SL_VERSION_REV 3
77

88
#endif // SLVERSION_H

pack.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
APPPATH="build/app"
44
DEBPATH="$APPPATH/DEBIAN"
5-
BINPATH=usr/$BINNAME/$BINNAME-$VERSION/
5+
BINPATH=usr/$BINNAME/$BINNAME-$VER
66

77
mkdir $DEBPATH
88

@@ -22,7 +22,7 @@ Description: ShaderLabs is a IDE for GLSL experimentation
2222
EOM
2323

2424
cat > "$DEBPATH/postinst" << EOM
25-
ln -sf /$BINPATH/$BINNAME /usr/$BINNAME
25+
ln -sf /$BINPATH/bin/$BINNAME /usr/bin/$BINNAME
2626
EOM
2727

2828
chmod +x $DEBPATH/postinst

0 commit comments

Comments
 (0)