Browse Source

Merge pull request #1270 from octodns/release-script-fix

Small fix for script release
pull/1271/head
Ross McFarland 6 months ago
committed by GitHub
parent
commit
fa7919732c
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 0 deletions
  1. +4
    -0
      .changelog/80f748502d3e4258bcbf4a05d5f5bdb0.md
  2. +1
    -0
      script/changelog
  3. +4
    -0
      script/release

+ 4
- 0
.changelog/80f748502d3e4258bcbf4a05d5f5bdb0.md View File

@ -0,0 +1,4 @@
---
type: none
---
Create dist directory in scripte/release if it doesn't exist

+ 1
- 0
script/changelog View File

@ -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',
)


+ 4
- 0
script/release View File

@ -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"


Loading…
Cancel
Save