Skip to content

Commit

Permalink
chore: merge the two script into single script in travis (#57)
Browse files Browse the repository at this point in the history
travis doesn't support two script tag, merge the scripts into single script.
  • Loading branch information
Yuvalke authored Sep 8, 2020
1 parent c9d82bb commit 16885e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ jobs:
name: 'Releasing a new version'
if: tag IS present
env: TRAVIS_MODE=release
script:
- conventional-github-releaser -p angular -t $GH_TOKEN
deploy:
- provider: releases
api_key: $GH_TOKEN
Expand Down
2 changes: 2 additions & 0 deletions scripts/travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ elif [ "${TRAVIS_MODE}" = "release" ] || [ "${TRAVIS_MODE}" = "releaseCanary" ];
sed -iE "s/$currentVersion/$newVersion/g" CHANGELOG.md
rm package.jsonE
rm CHANGELOG.mdE
else
conventional-github-releaser -p angular -t $GH_TOKEN
fi
echo "Building..."
yarn run build
Expand Down

0 comments on commit 16885e4

Please sign in to comment.