Skip to content

Commit

Permalink
chore(travis): The SHA-1 is already added automatically in the versio…
Browse files Browse the repository at this point in the history
…n by yarn oclif-dev pack

Change-Id: Ib9f41dfb0b049fee2028622813a3b3aae370ade4
Signed-off-by: Florent Benoit <[email protected]>
  • Loading branch information
benoitf committed Sep 3, 2019
1 parent 0b75586 commit 4caecdf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ before_deploy:
if [ "$TRAVIS_BRANCH" = master ]; then
echo "Branch is master branch..."
CURRENT_DAY=$(date +'%Y%m%d')
SHORT_SHA1=$(git rev-parse --short HEAD)
export CHECTL_VERSION=0.0.$CURRENT_DAY-next
export GITHUB_RELEASE_NAME=$CHECTL_VERSION
export GITHUB_RELEASE_NAME=0.0.$CURRENT_DAY-next.$SHORT_SHA1
fi;
- |
if [ "$TRAVIS_BRANCH" = release ]; then
Expand Down

0 comments on commit 4caecdf

Please sign in to comment.