Skip to content

Commit

Permalink
fix: GitHub issues do not allow 'link comments' (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe committed May 15, 2019
1 parent 8a295b2 commit fe4cd4f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
6 changes: 1 addition & 5 deletions __snapshots__/candidate-issue.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ Features:
* deps: upgrade foo
---
`

Expand All @@ -21,9 +19,7 @@ Features:
* deps: upgrade foo
---
[//]: # footer follows.
----------------
* [ ] **Should I create this release for you :robot:?**
Expand Down
4 changes: 1 addition & 3 deletions src/candidate-issue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import {ReleasePR, ReleasePROptions} from './release-pr';
const parseGithubRepoUrl = require('parse-github-repo-url');

const ISSUE_TITLE = 'chore(release): proposal for next release';
const ISSUE_FOOTER = '[//]: # footer follows.';
const ISSUE_FOOTER = '----------------';
const CHECKBOX = '* [ ] **Should I create this release for you :robot:?**';
const CHECK_REGEX = /\[x]/;

Expand Down Expand Up @@ -155,8 +155,6 @@ export class CandidateIssue {
${changelogEntry}
---
${ISSUE_FOOTER}
${CHECKBOX}
Expand Down
6 changes: 3 additions & 3 deletions system-test/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@ describe('GitHub', () => {
});
});
pr.should.eql({
version: 'v1.0.0',
sha: '5a4cdf2c1370937b363ce10962bf30e2ee84202e',
number: 3
version: 'v1.1.0',
sha: 'f52c585f1319b789ff75e864fe9bf7479f72ae0e',
number: 6
});
});
});
Expand Down

0 comments on commit fe4cd4f

Please sign in to comment.