Skip to content

Commit

Permalink
auto commit
Browse files Browse the repository at this point in the history
  • Loading branch information
roftLin committed Aug 20, 2020
1 parent 372597c commit 9ed2580
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ after_success:
# - git commit --amend --no-edit
# - git push upstream master

- export IS_NPMSUCCESS=$(npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}" && npm publish --access public)
- echo $IS_NPMSUCCESS
# - npm config set '//npm.pkg.github.com/:_authToken' "${GITHUB_TOKEN}" && npm publish --access public
# - export IS_NPMSUCCESS=$(npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}" && npm publish --access public)
# - echo $IS_NPMSUCCESS
- export IS_GITPKGSUCCESS=$(npm config set '//npm.pkg.github.com/:_authToken' "${GITHUB_TOKEN}" && npm publish --access public)
- echo $IS_GITPKGSUCCESS

# 完成发布后自动打tag
# - git commit -am 'chore:build'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@roft/dp",
"version": "1.0.4",
"version": "1.0.0",
"main": "index.js",
"repository": "https://github.com/roftLin/dp.git",
"author": "roftLin <315779478@qq.com>",
Expand Down

0 comments on commit 9ed2580

Please sign in to comment.