Updated travis
This commit is contained in:
parent
5be26aaa3a
commit
4e0c789dcb
1 changed files with 5 additions and 3 deletions
|
@ -24,11 +24,13 @@ jobs:
|
||||||
- >
|
- >
|
||||||
mkdir -p /tmp/build/packages/;
|
mkdir -p /tmp/build/packages/;
|
||||||
echo "XXXX" > /tmp/build/packages/xxxxx;
|
echo "XXXX" > /tmp/build/packages/xxxxx;
|
||||||
export GIT_TAG=$(git rev-parse HEAD)
|
export GIT_TAG=$(git rev-parse HEAD);
|
||||||
export GIT_TAG_SHORT=$(git rev-parse --short HEAD)
|
export GIT_TAG_SHORT=$(git rev-parse --short HEAD);
|
||||||
|
echo "Release commit: $GIT_TAG ($GIT_TAG_SHORT)";
|
||||||
|
|
||||||
export GITHUB_RELEASE_TAG="This is a auto build release from travis";
|
export GITHUB_RELEASE_TAG="This is a auto build release from travis";
|
||||||
export GITHUB_RELEASE_REPOSITORY="$TRAVIS_REPO_SLUG";
|
export GITHUB_RELEASE_REPOSITORY="$TRAVIS_REPO_SLUG";
|
||||||
export GITHUB_RELEASE_ACCESS_TOKEN="$GIT_AUTHTOKEN";
|
export GITHUB_RELEASE_ACCESS_TOKEN="$GIT_AUTHTOKEN";
|
||||||
echo "Release commit: $GIT_TAG ($GIT_TAG_SHORT)"; export GITHUB_RELEASE_COMMIT="$GIT_TAG";
|
export GITHUB_RELEASE_COMMIT="$GIT_TAG";
|
||||||
/tmp/git-release "Travis autobuild $GIT_TAG_SHORT" /tmp/build/packages/* /tmp/build/logs/*;
|
/tmp/git-release "Travis autobuild $GIT_TAG_SHORT" /tmp/build/packages/* /tmp/build/logs/*;
|
||||||
if: branch = master
|
if: branch = master
|
Loading…
Add table
Reference in a new issue