We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01c4e65 commit 895531bCopy full SHA for 895531b
1 file changed
deploy-hub.oscript.sh
@@ -1,7 +1,8 @@
1
#!/bin/bash
2
set -e
3
-export CHANNEL=dev
4
-if [ $TRAVIS_BRANCH == "master" ]; then export CHANNEL=stable;fi
+export CHANNEL=dev;
+if [ $TRAVIS_BRANCH == 'master' ]; then export CHANNEL=stable;fi
5
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;
+export LIB_VERSION=${temp##*|};
+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