Skip to content

Commit

Permalink
Merge pull request #9 from wemogy/main
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
SebastianKuesters authored Mar 22, 2024
2 parents fa20765 + 54885c5 commit 203a951
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29145,9 +29145,9 @@ function run() {
});
const gitHubRepositoryUtils = new GitHubRepositoryUtils_1.default(owner, repo, octokit);
const releaseNotesGenerator = new ReleaseNotesGenerator_1.default();
core.info(`DEBUG ${github.context.ref} --- ${github.context.sha}`);
// Get the referenced issues between the previous release and the current release
const issues = yield gitHubRepositoryUtils.getReferencedIssuesBetweenTags(previousReleaseVersionTag, releaseVersionTag, github.context.ref);
core.info(`Found ${issues.length} issues between tags`);
// Create the release notes
const releaseNotes = releaseNotesGenerator.generateReleaseNotes(issues);
// Create the release
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ async function run() {
const gitHubRepositoryUtils = new GitHubRepositoryUtils(owner, repo, octokit);
const releaseNotesGenerator = new ReleaseNotesGenerator();

core.info(`DEBUG ${github.context.ref} --- ${github.context.sha}`);

// Get the referenced issues between the previous release and the current release
const issues = await gitHubRepositoryUtils.getReferencedIssuesBetweenTags(
previousReleaseVersionTag,
releaseVersionTag,
github.context.ref
);

core.info(`Found ${issues.length} issues between tags`);

// Create the release notes
const releaseNotes = releaseNotesGenerator.generateReleaseNotes(issues);

Expand Down

0 comments on commit 203a951

Please sign in to comment.