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

CI: Introduce auto for publishing packages #127

Merged
merged 18 commits into from
Oct 31, 2022
Merged

CI: Introduce auto for publishing packages #127

merged 18 commits into from
Oct 31, 2022

Conversation

jackw
Copy link
Collaborator

@jackw jackw commented Oct 28, 2022

What this PR does / why we need it:
This PR introduces Auto as a solution for independently versioning and publishing the packages within this monorepo.

  • Introduce Auto and configure
  • Introduce Lerna (a necessary dependency of Auto) and configure
  • Add Auto plugins to appreciate contributors and configure
  • Reset version of sign-plugin for initial release
  • Delete previous bump version and release workflows in favour of a release work using auto
  • Update contributing docs related to versioning

Which issue(s) this PR fixes:

Fixes #118

Special notes for your reviewer:
As this PR has the release label attached when merged this PR should push new patch versions for both create-plugin and sign-plugin.

📦 Published PR as canary version: Canary Versions

✨ Test out this PR locally via:

npm install @grafana/create-plugin@0.4.1-canary.127.0910e06.0
npm install @grafana/sign-plugin@0.0.1-canary.127.0910e06.0
# or 
yarn add @grafana/create-plugin@0.4.1-canary.127.0910e06.0
yarn add @grafana/sign-plugin@0.0.1-canary.127.0910e06.0

@jackw jackw added type/docs Changes only affect the documentation dependencies Update one or more dependencies version patch Increment the patch version when merged release Create a release when this pr is merged labels Oct 28, 2022
@jackw jackw self-assigned this Oct 28, 2022
Copy link
Collaborator

@tolzhabayev tolzhabayev left a comment

Choose a reason for hiding this comment

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

Some questions

.github/workflows/release.yml Outdated Show resolved Hide resolved
CONTRIBUTING.md Show resolved Hide resolved
.github/workflows/release.yml Outdated Show resolved Hide resolved
CONTRIBUTING.md Show resolved Hide resolved
Copy link
Collaborator

@tolzhabayev tolzhabayev left a comment

Choose a reason for hiding this comment

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

SEND IT!

Copy link
Collaborator

@mckn mckn left a comment

Choose a reason for hiding this comment

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

LGTM! Added one small nit and one question.

.github/workflows/ci.yml Show resolved Hide resolved
.github/workflows/ci.yml Show resolved Hide resolved
@mckn mckn merged commit 1bcb85e into main Oct 31, 2022
@mckn mckn deleted the jackw/auto-releases branch October 31, 2022 10:34
@grafanabot
Copy link
Contributor

🚀 PR was released in @grafana/create-plugin@0.4.1, @grafana/sign-plugin@0.0.1 🚀

@grafanabot grafanabot added the released This issue/pull request has been released. label Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Update one or more dependencies version patch Increment the patch version when merged release Create a release when this pr is merged released This issue/pull request has been released. type/docs Changes only affect the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Introduce Auto for releasing multiple packages
4 participants