- if only a single tag is available resolve the initial commit as fallback. this is meant to support initial release scenarios

- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/276
This commit is contained in:
Mike Penz
2021-07-05 08:57:37 +02:00
parent 080a1286ce
commit 762538b445
5 changed files with 71 additions and 30 deletions
+1
View File
@@ -79,6 +79,7 @@ export class ReleaseNotesBuilder {
const tagsApi = new Tags(octokit)
const previousTag = await tagsApi.findPredecessorTag(
this.repositoryPath,
this.owner,
this.repo,
this.toTag,