fix: Test release

releases/v3
Tycho Bokdam 2019-10-18 11:25:57 +02:00
parent 1d3335a655
commit fd60d3839e
No known key found for this signature in database
GPG Key ID: A0FAE77C8CDF33C7
3 changed files with 7 additions and 39 deletions

View File

@ -1,35 +0,0 @@
# [1.1.0](https://github.com/TriPSs/conventional-changelog-action/compare/v0.0.1...v1.1.0) (2019-10-18)
### Bug Fixes
* Test release ([7365edf](https://github.com/TriPSs/conventional-changelog-action/commit/7365edf6f58d23baf8383668f83170dcb46bf5e6))
* Test release ([d0cd7bf](https://github.com/TriPSs/conventional-changelog-action/commit/d0cd7bf31f1a8e24ef4d44422d3fb9a4c694c89a))
* Test release ([37217f5](https://github.com/TriPSs/conventional-changelog-action/commit/37217f530cbbb866612b86d6c8a27d068d16e652))
* Test release ([1f63990](https://github.com/TriPSs/conventional-changelog-action/commit/1f63990fabc8bbf5d7cf9b234a4eb75c350518c3))
* Test release ([57d7d45](https://github.com/TriPSs/conventional-changelog-action/commit/57d7d4594f47d66d8de3eb1b7f4207130a7697ac))
* Test release ([c8e9ea6](https://github.com/TriPSs/conventional-changelog-action/commit/c8e9ea6338b809f0b2fb3b4e0ce037d7b26d7325))
* Test release ([a85634b](https://github.com/TriPSs/conventional-changelog-action/commit/a85634b8c7dc152dc1cf027ba5a91df6634f9ef2))
* Test release ([234446d](https://github.com/TriPSs/conventional-changelog-action/commit/234446dc90c9969a41a3bd97841e47adf81b50ee))
* Test release ([ab2ea09](https://github.com/TriPSs/conventional-changelog-action/commit/ab2ea0974adb27fd4e2bb45fd21e51b2c8181c27))
* Test release ([7cbbde6](https://github.com/TriPSs/conventional-changelog-action/commit/7cbbde6d9f2fc92e95b50eb8474ed08437ffe6f3))
* Test release ([9d10bb2](https://github.com/TriPSs/conventional-changelog-action/commit/9d10bb22adb57a2b4953272c7a938af9ab4f301b))
### Features
* Test release ([c471392](https://github.com/TriPSs/conventional-changelog-action/commit/c47139231d3289a08ee39c0b1978b9e935d456a5))
* Test release ([d71558c](https://github.com/TriPSs/conventional-changelog-action/commit/d71558cec69d773fb6846734b57ff55a6d7b3648))
* Test release ([5945aae](https://github.com/TriPSs/conventional-changelog-action/commit/5945aaed8f5e59d227742dd35670381cf444aa93))
## [0.0.1](https://github.com/TriPSs/conventional-changelog-action/compare/70ed437cb42d5ad01303d98797a7988fe1266f6b...v0.0.1) (2019-10-17)
### Bug Fixes
* Fixed name action.yml ([70ed437](https://github.com/TriPSs/conventional-changelog-action/commit/70ed437cb42d5ad01303d98797a7988fe1266f6b))

View File

@ -1,6 +1,6 @@
{
"name": "conventional-changelog-action",
"version": "1.0.0",
"version": "1.1.0",
"description": "",
"main": "index.js",
"scripts": {

View File

@ -23,11 +23,15 @@ async function run() {
} else {
core.info(`Recommended release type: ${recommendation.releaseType}`)
// Bump the version in the package.json
const jsonPackage = packageJson.bump(
packageJson.get(),
recommendation.releaseType,
)
// Update the package.json file
packageJson.update(jsonPackage)
core.info(`New version: ${jsonPackage.version}`)
const changelogStream = conventionalChangelog({
@ -44,13 +48,12 @@ async function run() {
changelogStream
.pipe(fs.createWriteStream('CHANGELOG.md'))
.on('finish', async() => {
core.info('Push all changes')
// Add changed files to git
await git.add('.')
await git.commit(commitMessage.replace('{version}', jsonPackage.version))
await git.push()
})
}
})