Skip to content

feat: add support for monorepos/releasing from alternate folders#501

Merged
bcoe merged 3 commits intomasterfrom
monorepo
Jul 27, 2020
Merged

feat: add support for monorepos/releasing from alternate folders#501
bcoe merged 3 commits intomasterfrom
monorepo

Conversation

@bcoe
Copy link
Copy Markdown

@bcoe bcoe commented Jul 27, 2020

This PR adds support for releasing libraries from a folder other than a repository's root:

You can now set the option --path which represents the path that package lives in, e.g., --path packages/gcf-utils.

You can also set the flag --monorepo-tags, which will prepend the library name to release branches and tags (this allows you to release multiple libraries from one repository (see: bcoe/test-release-please#43).

@bcoe bcoe requested a review from a team July 27, 2020 16:22
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Jul 27, 2020
@codecov
Copy link
Copy Markdown

codecov Bot commented Jul 27, 2020

Codecov Report

Merging #501 into master will decrease coverage by 0.00%.
The diff coverage is 67.50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #501      +/-   ##
==========================================
- Coverage   81.28%   81.27%   -0.01%     
==========================================
  Files          41       41              
  Lines        4745     4829      +84     
  Branches      393      378      -15     
==========================================
+ Hits         3857     3925      +68     
- Misses        887      903      +16     
  Partials        1        1              
Impacted Files Coverage Δ
src/releasers/java-auth-yoshi.ts 22.92% <0.00%> (-0.60%) ⬇️
src/releasers/python.ts 37.19% <0.00%> (-1.28%) ⬇️
src/releasers/ruby-yoshi.ts 28.49% <0.00%> (+0.31%) ⬆️
src/releasers/ruby.ts 36.52% <0.00%> (-1.32%) ⬇️
src/releasers/terraform-module.ts 33.00% <0.00%> (-1.38%) ⬇️
src/github-release.ts 93.78% <87.50%> (-0.77%) ⬇️
src/github.ts 76.33% <100.00%> (+0.12%) ⬆️
src/release-pr.ts 90.36% <100.00%> (+1.22%) ⬆️
src/releasers/java-bom.ts 93.91% <100.00%> (+0.02%) ⬆️
src/releasers/java-yoshi.ts 88.31% <100.00%> (+0.33%) ⬆️
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3718d1d...3a54382. Read the comment docs.

@bcoe bcoe merged commit 64268ba into master Jul 27, 2020
@bcoe bcoe deleted the monorepo branch July 27, 2020 17:05
bcoe pushed a commit to googleapis/release-please-action that referenced this pull request Jul 27, 2020
bcoe pushed a commit to googleapis/release-please-action that referenced this pull request Jul 27, 2020
software-dev-web added a commit to software-dev-web/please-action that referenced this pull request Dec 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants