Skip to content

Commit 8b991e8

Browse files
authored
Post release dev merge
2 parents 891f8f9 + 847f703 commit 8b991e8

4 files changed

Lines changed: 18 additions & 9 deletions

File tree

.github/workflows/release-automation.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
name: Release Automation
22

33
on:
4-
push:
5-
branches:
6-
- master
4+
pull_request:
5+
types: [closed]
76

87
jobs:
98
create_release:
10-
# We only run it for merge commits from branches release/*
11-
if: startsWith(github.event.head_commit.message, 'Merge pull request') && contains(github.event.head_commit.message, 'from release/')
9+
# We only run it for merged PRs from a release/* branch into master.
10+
if: |
11+
github.event.pull_request.merged == true &&
12+
github.event.pull_request.base.ref == 'master' &&
13+
startsWith(github.event.pull_request.head.ref, 'release/')
1214
runs-on: ubuntu-latest
1315
permissions:
1416
contents: write # to create tags and releases
@@ -17,7 +19,8 @@ jobs:
1719
- name: Checkout code
1820
uses: actions/checkout@v4
1921
with:
20-
# I need a complete history to read the tags and create a PR
22+
# We check out the master branch, which is the state after the merge.
23+
ref: 'master'
2124
fetch-depth: 0
2225

2326
- name: Get Version

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1616

1717
## [NextRelease]
1818

19+
### Header
20+
21+
- **subtitle**: describtion
22+
23+
## [1.3.4]
24+
1925
### Fixed
2026

2127
- **Deterministic Processing**: Fixed a critical bug that caused line numbers in the table of contents to change on every run. This was due to inconsistent newline handling after removing an existing agent docstring. The process is now fully idempotent.

agent_docstrings/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
Attributes:
88
__version__ (str): Current version of the *agent-docstrings* package.
99
"""
10-
__version__ = "1.3.3"
10+
__version__ = "1.3.4"

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "agent-docstrings"
7-
version = "1.3.3"
7+
version = "1.3.4"
88
description = "A command-line tool to auto-generate and update file-level docstrings summarizing classes and functions. Useful for maintaining a high-level overview of your files, especially in projects with code generated or modified by AI assistants."
99
readme = { file = "README.md", content-type = "text/markdown" }
1010
license = { file = "LICENSE" }
@@ -148,7 +148,7 @@ exclude_lines = [
148148
]
149149

150150
[tool.bumpversion]
151-
current_version = "1.3.3"
151+
current_version = "1.3.4"
152152
commit = false
153153
tag = false
154154

0 commit comments

Comments
 (0)