Skip to content

Commit

Permalink
ci: test release body [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
maggie-5miles committed Oct 9, 2018
1 parent d0eed0f commit 75377f8
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,14 @@ after_failure:

before_deploy:
- BUILD_TAG=$TRAVIS_TAG make dist
- |
if [[ "$TRAVIS_TAG" == "vStaging" ]]; then
export BODY=release for staging
elif [[ "$TRAVIS_TAG" == "vTestnet" ]]; then
export BODY=release for testnet
else
export BODY=https://github.com/CyberMiles/travis/blob/develop/CHANGELOG.md#${TRAVIS_TAG//.}
fi
deploy:
provider: releases
Expand All @@ -71,7 +79,7 @@ deploy:
file_glob: true
file: "build/dist/*.zip"
name: Travis $TRAVIS_TAG
body: https://github.com/CyberMiles/travis/blob/develop/CHANGELOG.md#${TRAVIS_TAG//.}
body: $BODY
on:
repo: CyberMiles/travis
tags: true

0 comments on commit 75377f8

Please sign in to comment.