Skip to content

Commit

Permalink
Added auto upgrade of package version
Browse files Browse the repository at this point in the history
  • Loading branch information
gautamkrishnar committed Aug 9, 2020
1 parent 8c45081 commit 19101af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ jobs:
- stage: Generate dist, test and publish to GitHub
if: tag IS present
script:
- yarn build && yarn run test-dist && git clone https://${GH_TOKEN}@github.com/gautamkrishnar/blog-post-workflow.git publish-repo > /dev/null 2>&1 && cp -fv ./dist/blog-post-workflow.js ./publish-repo/dist/blog-post-workflow.js && cd publish-repo && git config --global user.email "[email protected]" && git config --global user.name "gkr-bot" && git add ./dist/blog-post-workflow.js && git commit -m "Published ${TRAVIS_TAG}" && git push --quiet
- yarn build && yarn run test-dist && git clone https://${GH_TOKEN}@github.com/gautamkrishnar/blog-post-workflow.git publish-repo > /dev/null 2>&1 && cd publish-repo && yarn version --new-version ${TRAVIS_TAG} --no-git-tag-version && cp -fv ../dist/blog-post-workflow.js ./dist/blog-post-workflow.js && git config --global user.email "[email protected]" && git config --global user.name "gkr-bot" && git add ./dist/blog-post-workflow.js ./package.json && git commit -m "Published ${TRAVIS_TAG}" && git push --quiet
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"rss-parser": "^3.8.0"
},
"devDependencies": {
"mocha": "^8.1.1",
"jshint": "^2.11.1",
"mocha": "^8.1.1",
"parcel-bundler": "^1.12.4",
"start-server-and-test": "^1.11.2"
}
Expand Down

0 comments on commit 19101af

Please sign in to comment.