Skip to content

Commit

Permalink
travis
Browse files Browse the repository at this point in the history
  • Loading branch information
ZEXSM committed Jun 30, 2021
1 parent 28c3bec commit 080875a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ before_deploy:
- PATCH=$(([ "$RC" == "rc" ] && echo $CURRENT_PATCH) || ([ "$(echo $PR_TITLE | grep -oP 'release')" == "release" ] && echo 0) || ([ "$(echo $PR_TITLE | grep -oP 'feature')" == "feature" ] && echo 0) || echo $(($CURRENT_PATCH+1)))
- NEW_TAG=$(echo $MAJOR.$MINOR.$PATCH)
- PACKAGE_VERSION=${NEW_TAG}
- npm version v$PACKAGE_VERSION
- npm version v$PACKAGE_VERSION && git push origin HEAD:main
deploy:
provider: releases
name: v$PACKAGE_VERSION
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "node-scc-config",
"version": "1.0.0",
"private": true,
"author": "ZEXSM",
"description": "Configuring a Node.js application based on Spring Cloud Config",
"license": "MIT",
Expand Down

0 comments on commit 080875a

Please sign in to comment.