Skip to content

Commit 5a2d859

Browse files
release: bump version 0.16.1
1 parent e50a43b commit 5a2d859

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

.github/workflows/ci_cd.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,18 @@ jobs:
3939
with:
4040
token: ${{ secrets.GITHUB_TOKEN }}
4141

42+
update-changelog:
43+
name: "Update CHANGELOG (on release)"
44+
if: github.event_name == 'push' && contains(github.ref, 'refs/tags')
45+
runs-on: ubuntu-latest
46+
permissions:
47+
contents: write
48+
pull-requests: write
49+
steps:
50+
- uses: ansys/actions/doc-deploy-changelog@v6
51+
with:
52+
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
53+
4254
doc-build:
4355
name: Doc building
4456
runs-on: ubuntu-latest
@@ -109,7 +121,7 @@ jobs:
109121
release:
110122
name: "Release project to private PyPI, public PyPI and GitHub"
111123
if: github.event_name == 'push' && contains(github.ref, 'refs/tags')
112-
needs: build-library
124+
needs: [build-library, update-changelog]
113125
runs-on: ubuntu-latest
114126
steps:
115127

doc/changelog.d/378.fixed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fix: add changelog action in ci-cd

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "flit_core.buildapi"
55
[project]
66
# Check https://flit.readthedocs.io/en/latest/pyproject_toml.html for all available sections
77
name = "ansys-sphinx-theme"
8-
version = "0.16.0"
8+
version = "0.16.1"
99
description = "A theme devised by ANSYS, Inc. for Sphinx documentation."
1010
readme = "README.rst"
1111
requires-python = ">=3.9,<4"

0 commit comments

Comments
 (0)