Skip to content

Commit ceff8c3

Browse files
committed
chore: clean up test changelog file after merge
1 parent 99310d2 commit ceff8c3

File tree

3 files changed

+4
-106
lines changed

3 files changed

+4
-106
lines changed

.github/workflows/beta-release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ jobs:
116116
117117
echo "beta_version=$BETA_VERSION" >> $GITHUB_OUTPUT
118118
sed -i "s/__version__ = \".*\"/__version__ = \"$BETA_VERSION\"/" datafog/__about__.py
119-
sed -i "s/version=\".*\"/version=\"$BETA_VERSION\"/" setup.py
120119
121120
- name: Generate changelog
122121
run: |
@@ -153,7 +152,7 @@ jobs:
153152
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
154153
run: |
155154
BETA_VERSION="${{ steps.version.outputs.beta_version }}"
156-
git add datafog/__about__.py setup.py
155+
git add datafog/__about__.py
157156
git commit -m "chore: bump version to $BETA_VERSION for beta release"
158157
git tag -a "v$BETA_VERSION" -m "Beta release $BETA_VERSION"
159158
git push origin "v$BETA_VERSION"

BETA_CHANGELOG.md

Lines changed: 0 additions & 102 deletions
This file was deleted.

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
with open("README.md", "r") as f:
55
long_description = f.read()
66

7-
# Use a single source of truth for the version
8-
version = "4.2.0"
7+
# Use a single source of truth for the version from __about__.py
8+
exec(open("datafog/__about__.py").read())
9+
version = __version__ # noqa: F821
910

1011
project_urls = {
1112
"Homepage": "https://datafog.ai",

0 commit comments

Comments
 (0)