File tree Expand file tree Collapse file tree 3 files changed +4
-106
lines changed Expand file tree Collapse file tree 3 files changed +4
-106
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,6 @@ jobs:
116
116
117
117
echo "beta_version=$BETA_VERSION" >> $GITHUB_OUTPUT
118
118
sed -i "s/__version__ = \".*\"/__version__ = \"$BETA_VERSION\"/" datafog/__about__.py
119
- sed -i "s/version=\".*\"/version=\"$BETA_VERSION\"/" setup.py
120
119
121
120
- name : Generate changelog
122
121
run : |
@@ -153,7 +152,7 @@ jobs:
153
152
GITHUB_TOKEN : ${{ secrets.GH_PAT }}
154
153
run : |
155
154
BETA_VERSION="${{ steps.version.outputs.beta_version }}"
156
- git add datafog/__about__.py setup.py
155
+ git add datafog/__about__.py
157
156
git commit -m "chore: bump version to $BETA_VERSION for beta release"
158
157
git tag -a "v$BETA_VERSION" -m "Beta release $BETA_VERSION"
159
158
git push origin "v$BETA_VERSION"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 4
4
with open ("README.md" , "r" ) as f :
5
5
long_description = f .read ()
6
6
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
9
10
10
11
project_urls = {
11
12
"Homepage" : "https://datafog.ai" ,
You can’t perform that action at this time.
0 commit comments