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

chore: build dist release-please-action (#151)

This commit is contained in:
google-github-actions-bot
2020-12-08 09:41:00 -06:00
committed by GitHub
parent 00fefb4ff9
commit 431f1c7e12

9
dist/index.js vendored
View File

@@ -5957,7 +5957,7 @@ module.exports = require("vm");
/* 191 */
/***/ (function(module) {
module.exports = {"_args":[["release-please@8.0.2-candidate.2","/home/runner/work/release-please-action/release-please-action"]],"_from":"release-please@8.0.2-candidate.2","_id":"release-please@8.0.2-candidate.2","_inBundle":false,"_integrity":"sha512-KiCffoLQJ+YXfMUJQ0lDtV8c4Fbw5sKjkh87+lbFsYRwsdvaAfijj9npIscIqh0qA3vYxN03xd7T1N8t+CQiJg==","_location":"/release-please","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"release-please@8.0.2-candidate.2","name":"release-please","escapedName":"release-please","rawSpec":"8.0.2-candidate.2","saveSpec":null,"fetchSpec":"8.0.2-candidate.2"},"_requiredBy":["/"],"_resolved":"https://registry.npmjs.org/release-please/-/release-please-8.0.2-candidate.2.tgz","_spec":"8.0.2-candidate.2","_where":"/home/runner/work/release-please-action/release-please-action","author":{"name":"Google Inc."},"bin":{"release-please":"build/src/bin/release-please.js"},"bugs":{"url":"https://github.com/googleapis/release-please/issues"},"dependencies":{"@octokit/graphql":"^4.3.1","@octokit/request":"^5.3.4","@octokit/rest":"^18.0.4","chalk":"^4.0.0","code-suggester":"^1.4.0","concat-stream":"^2.0.0","conventional-changelog-conventionalcommits":"^4.4.0","conventional-changelog-writer":"^4.0.6","conventional-commits-filter":"^2.0.2","conventional-commits-parser":"^3.0.3","figures":"^3.0.0","parse-github-repo-url":"^1.4.1","semver":"^7.0.0","type-fest":"^0.20.0","yargs":"^16.0.0"},"description":"generate release PRs based on the conventionalcommits.org spec","devDependencies":{"@octokit/types":"^6.1.0","@types/chai":"^4.1.7","@types/mocha":"^8.0.0","@types/node":"^11.13.6","@types/pino":"^6.3.0","@types/semver":"^7.0.0","@types/sinon":"^9.0.5","@types/yargs":"^15.0.4","c8":"^7.0.0","chai":"^4.2.0","cross-env":"^7.0.0","gts":"^2.0.0","mocha":"^8.0.0","nock":"^13.0.0","sinon":"^9.0.3","snap-shot-it":"^7.0.0","typescript":"^3.8.3"},"engines":{"node":">=10.12.0"},"files":["build/src","templates","!build/src/**/*.map"],"homepage":"https://github.com/googleapis/release-please#readme","keywords":["release","conventional-commits"],"license":"Apache-2.0","main":"./build/src/index.js","name":"release-please","repository":{"type":"git","url":"git+https://github.com/googleapis/release-please.git"},"scripts":{"api-documenter":"api-documenter yaml --input-folder=temp","api-extractor":"api-extractor run --local","clean":"gts clean","compile":"tsc -p .","docs-test":"echo add docs tests","fix":"gts fix","lint":"gts check","prepare":"npm run compile","presystem-test":"npm run compile","pretest":"npm run compile","system-test":"echo 'no system tests'","test":"cross-env ENVIRONMENT=test c8 mocha --recursive --timeout=5000 build/test","test:all":"cross-env ENVIRONMENT=test c8 mocha --recursive --timeout=20000 build/system-test build/test","test:snap":"SNAPSHOT_UPDATE=1 npm test"},"version":"8.0.2-candidate.2"};
module.exports = {"_args":[["release-please@8.0.2-candidate.4","/home/runner/work/release-please-action/release-please-action"]],"_from":"release-please@8.0.2-candidate.4","_id":"release-please@8.0.2-candidate.4","_inBundle":false,"_integrity":"sha512-jpATr8boMLawgqpNXyqOoICjep5nOxANGLsRYcPLbkdCDAszL184Zym8nmtTtlz4HKHCahLcjYV7Pa4pVmpmyQ==","_location":"/release-please","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"release-please@8.0.2-candidate.4","name":"release-please","escapedName":"release-please","rawSpec":"8.0.2-candidate.4","saveSpec":null,"fetchSpec":"8.0.2-candidate.4"},"_requiredBy":["/"],"_resolved":"https://registry.npmjs.org/release-please/-/release-please-8.0.2-candidate.4.tgz","_spec":"8.0.2-candidate.4","_where":"/home/runner/work/release-please-action/release-please-action","author":{"name":"Google Inc."},"bin":{"release-please":"build/src/bin/release-please.js"},"bugs":{"url":"https://github.com/googleapis/release-please/issues"},"dependencies":{"@octokit/graphql":"^4.3.1","@octokit/request":"^5.3.4","@octokit/rest":"^18.0.4","chalk":"^4.0.0","code-suggester":"^1.4.0","concat-stream":"^2.0.0","conventional-changelog-conventionalcommits":"^4.4.0","conventional-changelog-writer":"^4.0.6","conventional-commits-filter":"^2.0.2","conventional-commits-parser":"^3.0.3","figures":"^3.0.0","parse-github-repo-url":"^1.4.1","semver":"^7.0.0","type-fest":"^0.20.0","yargs":"^16.0.0"},"description":"generate release PRs based on the conventionalcommits.org spec","devDependencies":{"@octokit/types":"^6.1.0","@types/chai":"^4.1.7","@types/mocha":"^8.0.0","@types/node":"^11.13.6","@types/pino":"^6.3.0","@types/semver":"^7.0.0","@types/sinon":"^9.0.5","@types/yargs":"^15.0.4","c8":"^7.0.0","chai":"^4.2.0","cross-env":"^7.0.0","gts":"^2.0.0","mocha":"^8.0.0","nock":"^13.0.0","sinon":"^9.0.3","snap-shot-it":"^7.0.0","typescript":"^3.8.3"},"engines":{"node":">=10.12.0"},"files":["build/src","templates","!build/src/**/*.map"],"homepage":"https://github.com/googleapis/release-please#readme","keywords":["release","conventional-commits"],"license":"Apache-2.0","main":"./build/src/index.js","name":"release-please","repository":{"type":"git","url":"git+https://github.com/googleapis/release-please.git"},"scripts":{"api-documenter":"api-documenter yaml --input-folder=temp","api-extractor":"api-extractor run --local","clean":"gts clean","compile":"tsc -p .","docs-test":"echo add docs tests","fix":"gts fix","lint":"gts check","prepare":"npm run compile","presystem-test":"npm run compile","pretest":"npm run compile","system-test":"echo 'no system tests'","test":"cross-env ENVIRONMENT=test c8 mocha --recursive --timeout=5000 build/test","test:all":"cross-env ENVIRONMENT=test c8 mocha --recursive --timeout=20000 build/system-test build/test","test:snap":"SNAPSHOT_UPDATE=1 npm test"},"version":"8.0.2-candidate.4"};
/***/ }),
/* 192 */,
@@ -56456,7 +56456,12 @@ class GoYoshi extends release_pr_1.ReleasePR {
githubRepoUrl: this.repoUrl,
bumpMinorPreMajor: this.bumpMinorPreMajor,
});
const candidate = await this.coerceReleaseCandidate(cc, latestTag);
const candidate = this.monorepoTags ||
!(this.isMultiClientRepo(repo) || this.isGapicRepo(repo))
? // Submodules use conventional commits to bump major/minor/patch:
await super.coerceReleaseCandidate(cc, latestTag)
: // Root module always bumps minor:
await this.coerceReleaseCandidate(cc, latestTag);
// "closes" is a little presumptuous, let's just indicate that the
// PR references these other commits:
const changelogEntry = (await cc.generateChangelogEntry({