We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8894739 commit 01c4e65Copy full SHA for 01c4e65
1 file changed
deploy-hub.oscript.sh
@@ -1,6 +1,7 @@
1
#!/bin/bash
2
set -e
3
-
+export CHANNEL=dev
4
+if [ $TRAVIS_BRANCH == "master" ]; then export CHANNEL=stable;fi
5
temp=`cat packagedef | grep ".Версия(" | sed 's|[^"]*"||' | sed -r 's/".+//'`;
6
export VERSION=${temp##*|};
-oscript /usr/share/oscript/lib/opm/src/opm.os push --token $GITHUB_OAUTH_TOKEN --channel stable --file ./cli-$VERSION.ospx;
7
+oscript /usr/share/oscript/lib/opm/src/opm.os push --token $GITHUB_OAUTH_TOKEN --channel $CHANNEL --file ./cli-$VERSION.ospx;
0 commit comments