Skip to content

Commit

Permalink
v1.0.4 (#351)
Browse files Browse the repository at this point in the history
- Auto-tag alpha and beta releases (any release with a dash in it) as 'next' in NPM.
  • Loading branch information
Morley Zhi authored Jun 18, 2019
1 parent 44bc6ac commit 39e8a1c
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 6 deletions.
22 changes: 17 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,23 +38,35 @@ env:
notifications:
slack:
secure: CgXxNEQrQ82EatyF/wSdF0P5rXcWPL+fFZ1lb1aBb8RbVt5gwddJ6xWVD/nYSr6tIJvIYHYhoYsIDPENwezIPsesG7kWXerQhydsEcA34JKxzsStd/TmU6Moxuwy6KTN7yzmL6586nSvoAw9TNPgvRkJFkH07asjGIc9Rlaq7/Y=
before_deploy: gulp build
after_deploy: './after_deploy.sh'
before_deploy:
- "gulp build"
# Identifies `a.b.c-xxx.n` tags as pre-releases, and `a.b.c` as stable releases
- |
function npm_dist_tag() {
if [[ "$TRAVIS_TAG" = *"-"* ]]; then
echo "next"
else
echo "latest"
fi
}
after_deploy: "./after_deploy.sh"
deploy:
- provider: npm
email: [email protected]
api_key: $NPM_TOKEN
skip_cleanup: true
tag: $(npm_dist_tag)
on:
tags: true
repo: stellar/js-stellar-sdk
node: 6.14.0
condition: '$INTEGRATION = true'
condition: "$INTEGRATION = true"
- provider: script
script: './bower_publish.sh'
script: "./bower_publish.sh"
skip_cleanup: true
on:
tags: true
repo: stellar/js-stellar-sdk
node: 6.14.0
condition: '$INTEGRATION = true'
condition: "$INTEGRATION = true"
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
As this project is pre 1.0, breaking changes may happen for minor version bumps.
A breaking change will get clearly marked in this log.

## [v1.0.4](https://github.com/stellar/js-stellar-sdk/compare/v1.0.3...v1.0.4)

- Automatically tag alpha / beta releases as "next" in NPM.

## [v1.0.3](https://github.com/stellar/js-stellar-sdk/compare/v1.0.2...v1.0.3)

- Upgrade axios to 0.19.0 to close a security vulnerability.
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": "stellar-sdk",
"version": "1.0.3",
"version": "1.0.4",
"description": "stellar-sdk is a library for working with the Stellar Horizon server.",
"main": "./lib/index.js",
"types": "./types/index.d.ts",
Expand Down

0 comments on commit 39e8a1c

Please sign in to comment.