Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(actions): switch to GitHub action for releases #2458

Merged
merged 5 commits into from
Dec 1, 2020
Merged

feat(actions): switch to GitHub action for releases #2458

merged 5 commits into from
Dec 1, 2020

Conversation

bcoe
Copy link
Contributor

@bcoe bcoe commented Dec 1, 2020

This moves us to using a GitHub action for running release-please and publishing to npm, this will make it easier for us to have two release flows in the repo:

  1. the top level publication of googleapis.
  2. the publication of individual libraries inside src/apis.

TODO:

@bcoe bcoe requested a review from a team as a code owner December 1, 2020 00:54
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Dec 1, 2020
@codecov
Copy link

codecov bot commented Dec 1, 2020

Codecov Report

Merging #2458 (2a1be52) into master (865a32e) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2458   +/-   ##
=======================================
  Coverage   85.43%   85.43%           
=======================================
  Files          11       11           
  Lines        1723     1723           
  Branches       99       99           
=======================================
  Hits         1472     1472           
  Misses        251      251           

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 865a32e...2a1be52. Read the comment docs.

.github/workflows/release.yaml Outdated Show resolved Hide resolved
const latestRelease = await github.issues.addLabels({
owner,
repo,
issue_number: ${{steps.release-please.outputs.pr}},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the step called release-pr, not release-please?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(I have no idea actually :) )

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, good catch, I believe it should be release-pr.

.github/workflows/release.yaml Outdated Show resolved Hide resolved
Copy link
Contributor

@alexander-fenster alexander-fenster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's see how it works :)

@bcoe bcoe merged commit d473ac3 into master Dec 1, 2020
@bcoe bcoe deleted the actions branch December 1, 2020 22:58
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.

None yet

2 participants