Skip to content

Commit 895531b

Browse files
committed
Поравка скрипта
1 parent 01c4e65 commit 895531b

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

deploy-hub.oscript.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
#!/bin/bash
22
set -e
3-
export CHANNEL=dev
4-
if [ $TRAVIS_BRANCH == "master" ]; then export CHANNEL=stable;fi
3+
export CHANNEL=dev;
4+
if [ $TRAVIS_BRANCH == 'master' ]; then export CHANNEL=stable;fi
55
temp=`cat packagedef | grep ".Версия(" | sed 's|[^"]*"||' | sed -r 's/".+//'`;
6-
export VERSION=${temp##*|};
7-
oscript /usr/share/oscript/lib/opm/src/opm.os push --token $GITHUB_OAUTH_TOKEN --channel $CHANNEL --file ./cli-$VERSION.ospx;
6+
export LIB_VERSION=${temp##*|};
7+
echo $LIB_VERSION;
8+
oscript /usr/share/oscript/lib/opm/src/opm.os push --token $GITHUB_OAUTH_TOKEN --channel $CHANNEL --file ./cli-$LIB_VERSION.ospx;

0 commit comments

Comments
 (0)