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: release-please test #961

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/release_please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
on:
push:
branches:
- main
- release-please-test

permissions:
contents: write
pull-requests: write

name: release-please

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
# this is a built-in strategy in release-please, see "Action Inputs"
# for more options
release-type: simple
27 changes: 0 additions & 27 deletions .github/workflows/release_plz.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "0.0.0"
}
19 changes: 19 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ Check out the [Roadmap](https://docs.atomicdata.dev/roadmap.html) if you want to
- [Criterion benchmarks](#criterion-benchmarks)
- [Drill](#drill)
- [Responsible disclosure / Coordinated Vulnerability Disclosure](#responsible-disclosure--coordinated-vulnerability-disclosure)
- [Automated releases and versioning](#automated-releases-and-versioning)
- [Commits](#commits)
- [Releases, Versioning and Tagging](#releases-versioning-and-tagging)
- [CI situation](#ci-situation)
- [Publishing manually - doing the CI's work](#publishing-manually---doing-the-cis-work)
Expand Down Expand Up @@ -196,6 +198,23 @@ If you encounter serious security risks, please refrain from posting these publi
We could minimize the impact by first patching the issue, publishing the patch, and then (after 30 days) disclose the bug.
So please first send an e-mail to [email protected] describing the issue, and then we will work on fixing it as soon as possible.

## Automated releases and versioning

We use `release-please` to automatically create version bumps and PRs.
The `.release-please-manifest.json` file contains the configuration for this (see [docs](https://github.com/googleapis/release-please/blob/main/docs/manifest-releaser.md)).

## Commits

Use [ConventionalCommits](https://www.conventionalcommits.org/) for commit messages.

- `fix: ...` for bugfixes
- `feat: ...` for new features
- `chore: ...` for changes that don't affect the code (e.g. updating dependencies)

Be sure to link to issues using `#123`.

The Changelog is automatically updated!

## Releases, Versioning and Tagging

1. Commit changes
Expand Down
62 changes: 62 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"packages": {
".": {
"changelog-path": "CHANGELOG.md",
"bump-minor-pre-major": false,
"bump-patch-for-minor-pre-major": false,
"draft": false,
"prerelease": false
},
"browser/lib": {
"release-type": "node",
"component": "lib-js"
},
"browser/react": {
"release-type": "node",
"component": "react"
},
"browser/svelte": {
"release-type": "node",
"component": "svelte"
},
"browser/cli": {
"release-type": "node",
"component": "cli-js"
},
"server": {
"release-type": "rust",
"component": "server"
},
"lib": {
"release-type": "rust",
"component": "lib-rs"
},
"cli": {
"release-type": "rust",
"component": "cli-rs"
}
},
"plugins": [
{
"type": "cargo-workspace",
"merge": false
},
{
"type": "node-workspace"
},
{
"type": "linked-versions",
"groupName": "atomic-linked-versions",
"components": [
"lib-js",
"react",
"svelte",
"cli-js",
"server",
"lib-rs",
"cli-rs"
]
}
],
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
}
Loading