Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add auto release to CI #1

Merged
merged 2 commits into from
Dec 5, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,12 @@ workflows:
filters:
tags:
only: /.*/
# - release:
# requires:
# - build
# - lint
# - test
# filters:
# branches:
# only:
# - master
- release:
requires:
- build
- lint
- test
filters:
branches:
only:
- master
18 changes: 9 additions & 9 deletions src/__tests__/__snapshots__/log-parse.test.ts.snap
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`generateReleaseNotes should combine pr w/no label and labelled pr 1`] = `
"#### 🐛 Bug Fix
- Some Feature [#1234](https://github.custom.com/foobar/auto-release/pull/1234) ([email protected])
- Third ([email protected])

#### Authors: 1
- Adam Dierkens ([email protected])"
`;

exports[`generateReleaseNotes should create note for JIRA commits 1`] = `
"#### 💥 Breaking Change
- [PLAYA-5052](https://jira.custom.com/browse/PLAYA-5052): Some Feature [#12345](https://github.custom.com/foobar/auto-release/pull/12345) ([email protected])
Expand Down Expand Up @@ -53,15 +62,6 @@ exports[`generateReleaseNotes should create sections for packages 1`] = `
- Adam Dierkens ([email protected])"
`;

exports[`generateReleaseNotes should foo 1`] = `
"#### 🐛 Bug Fix
- Some Feature [#1234](https://github.custom.com/foobar/auto-release/pull/1234) ([email protected])
- Third ([email protected])

#### Authors: 1
- Adam Dierkens ([email protected])"
`;

exports[`generateReleaseNotes should use username if present 1`] = `
"#### 🚀 Enhancement
- Some Feature [#1234](https://github.custom.com/foobar/auto-release/pull/1234) ([@adam](https://github.custom.com/adam))
Expand Down