File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 7
7
project = "GFloat"
8
8
copyright = "2024, Graphcore Ltd"
9
9
author = "Andrew Fitzgibbon"
10
- release = "0.1" # Set version in package.sh
11
- version = "0.1" # Set version in package.sh
10
+ release = "0.2. 1" # Set version in package.sh
11
+ version = "0.2. 1" # Set version in package.sh
12
12
13
13
# -- General configuration
14
14
Original file line number Diff line number Diff line change 4
4
5
5
set -o errexit
6
6
7
- VERSION=" 0.1"
7
+ # This is the master location at which to change version number
8
+ VERSION=" 0.2.1"
9
+
10
+ # Run the script to change the version elsewhere
8
11
perl -pi -e ' s/^(release|version) = "([\d.]+)"/$1 = "' $VERSION ' "/' docs/source/conf.py
9
12
perl -pi -e ' s/^version = "([\d.]+)"/version = "' $VERSION ' "/' pyproject.toml
10
13
14
+ # Build docs to embed version
11
15
( cd docs && make html )
12
16
17
+ # Build distribution
13
18
rm -rf dist
14
19
pip install build twine
15
20
python -m build
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ package-dir = {"" = "src"}
10
10
11
11
[project ]
12
12
name = " gfloat"
13
- version = " 0.1" # Set version in package.sh
13
+ version = " 0.2. 1" # Set version in package.sh
14
14
authors = [
15
15
{
name =
" Andrew Fitzgibbon" ,
email =
" [email protected] " },
16
16
]
You can’t perform that action at this time.
0 commit comments