File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 7
7
required : true
8
8
default : 3.4.1
9
9
version-tag :
10
- description : Python package version to release to PyPI (without 'v')
10
+ description : Python package version to release to PyPI (without 'v', last digit is the build number )
11
11
required : true
12
- default : 3.4.1.post1
12
+ default : 3.4.1.1
13
13
dry-run :
14
14
description : Dry run
15
15
type : boolean
Original file line number Diff line number Diff line change @@ -43,7 +43,10 @@ Go to Github Actions and run the `Build and Release` workflow.
43
43
44
44
Version rule:
45
45
46
- 3.4.1.post2: 3.4.1 is the APBS version, postN can increase with the changes of the package and the builds.
46
+ 3.4.1.2:
47
+
48
+ - 3.4.1 is the APBS version
49
+ - the last digit (.2) is the patch/build number. It increases as we rebuild the wheels with different configurations or update the python API.
47
50
48
51
49
52
### Running locally
@@ -73,7 +76,7 @@ Build four wheels on all platforms. Basically it will put the binaries in the `s
73
76
``` bash
74
77
# first arg: APBS version to find in `data/` (i.e. data/apbs-3.4.1/APBS-3.4.1.Linux)
75
78
# second arg: wheel version
76
- bash build_python.sh 3.4.1 3.4.1.post2
79
+ bash build_python.sh 3.4.1 3.4.1.2
77
80
```
78
81
79
82
Test the wheel
Original file line number Diff line number Diff line change 1
1
if [ " $# " -ne 2 ]; then
2
2
echo " Build python wheels in a temp directory."
3
3
echo " Usage: $0 <apbs_version> <py_package_version>"
4
- echo " Example: $0 3.4.1 3.4.1.post4"
4
+ echo " Example: $0 3.4.1 3.4.1.4"
5
+ echo " The python package version should be the same as the APBS version plus a patch (build) version."
5
6
exit 1
6
7
fi
7
8
You can’t perform that action at this time.
0 commit comments