1
0
mirror of https://github.com/joaquinjsb/gitea-release-please-action synced 2026-05-05 10:37:47 +02:00

chore: build dist (#764)

Build dist PR

Co-authored-by: Jeff Ching <chingor@google.com>
This commit is contained in:
Google GitHub Actions Bot
2023-05-25 15:05:01 -04:00
committed by GitHub
parent b5e4ec3382
commit 221cfd7fc8

8
dist/index.js vendored
View File

@@ -87965,7 +87965,6 @@ class Manifest {
break;
}
}
const needsBootstrap = releasesFound < expectedReleases;
if (releasesFound < expectedReleases) {
this.logger.warn(`Expected ${expectedReleases} releases, only found ${releasesFound}`);
// Fall back to looking for missing releases using expected tags
@@ -87978,6 +87977,7 @@ class Manifest {
releasesFound++;
}
}
const needsBootstrap = releasesFound < expectedReleases;
if (releasesFound < expectedReleases) {
this.logger.warn(`Expected ${expectedReleases} releases, only found ${releasesFound}`);
}
@@ -88660,19 +88660,23 @@ async function latestReleaseVersion(github, targetBranch, releaseFilter, config,
commitShas.add(commitWithPullRequest.sha);
const mergedPullRequest = commitWithPullRequest.pullRequest;
if (!mergedPullRequest) {
logger.trace(`skipping commit: ${commitWithPullRequest.sha} missing merged pull request`);
continue;
}
const branchName = branch_name_1.BranchName.parse(mergedPullRequest.headBranchName, logger);
if (!branchName) {
logger.trace(`skipping commit: ${commitWithPullRequest.sha} unrecognized branch name: ${mergedPullRequest.headBranchName}`);
continue;
}
// If branchPrefix is specified, ensure it is found in the branch name.
// If branchPrefix is not specified, component should also be undefined.
if (branchName.getComponent() !== branchPrefix) {
logger.trace(`skipping commit: ${commitWithPullRequest.sha} branch component ${branchName.getComponent()} doesn't match expected prefix: ${branchPrefix}`);
continue;
}
const pullRequestTitle = pull_request_title_1.PullRequestTitle.parse(mergedPullRequest.title, config.pullRequestTitlePattern, logger);
if (!pullRequestTitle) {
logger.trace(`skipping commit: ${commitWithPullRequest.sha} couldn't parse pull request title: ${mergedPullRequest.title}`);
continue;
}
const version = pullRequestTitle.getVersion();
@@ -119671,7 +119675,7 @@ module.exports = {};
/***/ ((module) => {
"use strict";
module.exports = {"i8":"15.10.2"};
module.exports = {"i8":"15.10.4"};
/***/ }),