Skip to content

Commit

Permalink
chore: use right release tags to compare
Browse files Browse the repository at this point in the history
  • Loading branch information
louistiti committed Apr 23, 2019
1 parent a94267b commit 815f8c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [1.0.0-beta.2](https://github.com/leon-ai/leon/compare/1.0.0-beta.1...v1.0.0-beta.2) (2019-04-24)
# [1.0.0-beta.2](https://github.com/leon-ai/leon/compare/1.0.0-beta.1...1.0.0-beta.2) (2019-04-24)
### Features
- can send custom HTTP headers
([2685cdab](https://github.com/leon-ai/leon/commit/2685cdab07cc1a9ea418eab812e5163d2dd0da90))
Expand Down Expand Up @@ -46,7 +46,7 @@



# [1.0.0-beta.1](https://github.com/leon-ai/leon/compare/1.0.0-beta.0...v1.0.0-beta.1) (2019-02-24)
# [1.0.0-beta.1](https://github.com/leon-ai/leon/compare/1.0.0-beta.0...1.0.0-beta.1) (2019-02-24)
### Features
- add Docker support
([209760db](https://github.com/leon-ai/leon/commit/209760dba747001300692fb6a6af97543de584d6))
Expand Down Expand Up @@ -74,6 +74,6 @@
([08a68e37](https://github.com/leon-ai/leon/commit/08a68e376b6a9367425947380564120943376500))


# [1.0.0-beta.0](https://github.com/leon-ai/leon/compare/https://github.com/leon-ai/leon.git...v1.0.0-beta.0) (2019-02-10)
# [1.0.0-beta.0](https://github.com/leon-ai/leon/compare/https://github.com/leon-ai/leon.git...1.0.0-beta.0) (2019-02-10)

Initial release.
2 changes: 1 addition & 1 deletion scripts/release/generate-changelog.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default version => new Promise(async (resolve, reject) => {
const repoUrl = sh.stdout.substr(0, sh.stdout.lastIndexOf('.git'))
const previousTag = sh.stdout.substr(sh.stdout.indexOf('\n') + 1).trim()
const changelogData = fs.readFileSync(changelog, 'utf8')
const compareUrl = `${repoUrl}/compare/${previousTag}...v${version}`
const compareUrl = `${repoUrl}/compare/${previousTag}...${version}`
let tmpData = fs.readFileSync(`scripts/tmp/${tmpChangelog}`, 'utf8')

log.success(`Remote origin URL gotten: ${repoUrl}.git`)
Expand Down

0 comments on commit 815f8c9

Please sign in to comment.