Skip to content

Commit

Permalink
ci: determine last release from git tags
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfbecker committed Oct 28, 2017
1 parent 9ad8a72 commit d336aee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ cache:
- $HOME/.composer/cache

before_install:
- git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
- git fetch --tags
- nvm install 8
- nvm use 8

Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"@types/semver": "^5.3.34",
"cz-conventional-changelog": "^2.0.0",
"husky": "^0.14.3",
"last-release-git": "0.0.3",
"semantic-release": "^8.2.0",
"tslint": "^5.0.0",
"typescript": "^2.1.4",
Expand All @@ -70,6 +71,9 @@
"path": "./node_modules/cz-conventional-changelog"
}
},
"release": {
"getLastRelease": "last-release-git"
},
"contributes": {
"configuration": {
"type": "object",
Expand Down

0 comments on commit d336aee

Please sign in to comment.