Skip to content

Commit

Permalink
Merge pull request #6 from jnoortheen/release-process-test
Browse files Browse the repository at this point in the history
Release process test
  • Loading branch information
jnoortheen authored Dec 10, 2024
2 parents c059ac2 + 4c9896a commit 8ae5a99
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 138 deletions.
32 changes: 0 additions & 32 deletions .github/workflows/check-news-item.yml

This file was deleted.

64 changes: 0 additions & 64 deletions .github/workflows/check-news.py

This file was deleted.

19 changes: 19 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
on:
push:
branches:
- main

permissions:
contents: write
pull-requests: write

name: release-please

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v4
with:
config-file: release-please-config.json
manifest-file: .release-please-manifest.json
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,8 @@ repos:
- id: check-yaml
- id: check-toml
- id: check-added-large-files
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v3.6.0
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
22 changes: 3 additions & 19 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,25 +38,9 @@ Finally, run the following commands. You should see the effects of your change

Changelog
=========
Pull requests will often have CHANGELOG entries associated with. However,
to avoid excessive merge conflicts, please follow the following procedure:

1. Go into the ``news/`` directory,
2. Copy the ``TEMPLATE.rst`` file to another file in the ``news/`` directory.
We suggest using the branchname::

@ cp TEMPLATE.rst branch.rst

3. Add your entries as a bullet pointed lists in your ``branch.rst`` file in
the appropriate category. It is OK to leave the ``None`` entries for later
use.
4. Commit your ``branch.rst``.

Feel free to update this file whenever you want! Please don't use someone
else's file name. All of the files in this ``news/`` directory will be merged
automatically at release time. The ``None`` entries will be automatically
filtered out too!

We use conventional commits to generate the changelog.
Please refer to the `conventional commits specification <https://www.conventionalcommits.org/en/v1.0.0/>`_
for more information.

Style Guide
===========
Expand Down
23 changes: 0 additions & 23 deletions news/TEMPLATE.rst

This file was deleted.

10 changes: 10 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"packages": {
".": {
"changelog-path": "changelog.rst",
"release-type": "python",
"bump-minor-pre-major": true,
"bump-patch-for-minor-pre-major": true
}
}
}

0 comments on commit 8ae5a99

Please sign in to comment.