Ross McFarland
6 months ago
No known key found for this signature in database
GPG Key ID: 943B179E15D3B22A
3 changed files with
9 additions and
0 deletions
-
.changelog/80f748502d3e4258bcbf4a05d5f5bdb0.md
-
script/changelog
-
script/release
|
|
|
@ -0,0 +1,4 @@ |
|
|
|
--- |
|
|
|
type: none |
|
|
|
--- |
|
|
|
Create dist directory in scripte/release if it doesn't exist |
|
|
|
@ -47,6 +47,7 @@ See https://semver.org/ for more info''', |
|
|
|
parser.add_argument( |
|
|
|
'-a', |
|
|
|
'--add', |
|
|
|
action='store_true', |
|
|
|
default=False, |
|
|
|
help='git add the newly created changelog entry', |
|
|
|
) |
|
|
|
|
|
|
|
@ -44,6 +44,10 @@ echo "Created clean room $TMP_DIR and archived $VERSION into it" |
|
|
|
|
|
|
|
(cd "$TMP_DIR" && python -m build --sdist --wheel) |
|
|
|
|
|
|
|
if [ ! -d dist ]; then |
|
|
|
mkdir dist/ |
|
|
|
fi |
|
|
|
|
|
|
|
cp $TMP_DIR/dist/*$VERSION.tar.gz $TMP_DIR/dist/*$VERSION*.whl dist/ |
|
|
|
echo "Copied $TMP_DIR/dists into ./dist" |
|
|
|
|
|
|
|
|