Skip to content

Commit

Permalink
Release antsibull-core 3.0.0 (#153)
Browse files Browse the repository at this point in the history
* Bump dev status from Alpha to Beta.

This should have happened some time ago IMO.
We can probably also bump this up even further,
but let's do that later.

* Fix instructions.

* Prepare 3.0.0.

* Release 3.0.0.

* Use Python 3.12 for testing with antsibull and antsibull-docs.
  • Loading branch information
felixfontein authored Mar 17, 2024
1 parent 7282135 commit 2f93380
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/antsibull-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ jobs:
ref: main
path: antsibull-docs

- name: Set up Python 3.11
- name: Set up Python 3.12
id: python
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.12'

- name: Install dependencies
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/antsibull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ jobs:
ref: main
path: antsibull

- name: Set up Python 3.11
- name: Set up Python 3.12
id: python
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.12'

- name: Install dependencies
env:
Expand Down
8 changes: 4 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

**Topics**

- <a href="#v3-0-0a1">v3\.0\.0a1</a>
- <a href="#v3-0-0">v3\.0\.0</a>
- <a href="#release-summary">Release Summary</a>
- <a href="#breaking-changes--porting-guide">Breaking Changes / Porting Guide</a>
- <a href="#removed-features-previously-deprecated">Removed Features \(previously deprecated\)</a>
Expand Down Expand Up @@ -52,13 +52,13 @@
- <a href="#v0-1-0">v0\.1\.0</a>
- <a href="#release-summary-12">Release Summary</a>

<a id="v3-0-0a1"></a>
## v3\.0\.0a1
<a id="v3-0-0"></a>
## v3\.0\.0

<a id="release-summary"></a>
### Release Summary

First antsibull\-core v3 pre\-release
New major release\.

<a id="breaking-changes--porting-guide"></a>
### Breaking Changes / Porting Guide
Expand Down
6 changes: 3 additions & 3 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ antsibull-core Release Notes

.. contents:: Topics

v3.0.0a1
========
v3.0.0
======

Release Summary
---------------

First antsibull-core v3 pre-release
New major release.

Breaking Changes / Porting Guide
--------------------------------
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ To run specific tests:
## Creating a new release:

1. Run `nox -e bump -- <version> <release_summary_message>`. This:
* Bumps the package version in `pyproject.toml`.
* Bumps the package version in `src/antsibull_core/__init__.py`.
* Creates `changelogs/fragments/<version>.yml` with a `release_summary` section.
* Runs `antsibull-changelog release` and adds the changed files to git.
* Commits with message `Release <version>.` and runs `git tag -a -m 'antsibull-core <version>' <version>`.
Expand Down
6 changes: 6 additions & 0 deletions changelogs/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,12 @@ releases:
- 116-subprocess_util_escape.yaml
- 2.2.0.yml
release_date: '2023-12-01'
3.0.0:
changes:
release_summary: New major release.
fragments:
- 3.0.0.yml
release_date: '2024-03-17'
3.0.0a1:
changes:
breaking_changes:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ license = "GPL-3.0-or-later AND BSD-2-Clause AND MIT AND PSF-2.0"
license-files = {globs=["LICENSES/*.txt"]}
readme = "README.md"
classifiers = [
"Development Status :: 3 - Alpha",
"Development Status :: 4 - Beta",
"Framework :: Ansible",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
Expand Down
2 changes: 1 addition & 1 deletion src/antsibull_core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@

from __future__ import annotations

__version__ = "3.0.0a1.post0"
__version__ = "3.0.0"

__all__ = ("__version__",)

0 comments on commit 2f93380

Please sign in to comment.