mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Merge pull request #786 from octodns/requirements-and-release-updates
Requirements and release process updates
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
build==0.7.0
|
||||
coverage
|
||||
mock
|
||||
nose
|
||||
@@ -7,7 +8,7 @@ pycodestyle==2.6.0
|
||||
pyflakes==2.2.0
|
||||
readme_renderer[md]==26.0
|
||||
requests_mock
|
||||
twine==3.2.0; python_version >= '3.2'
|
||||
twine==3.4.2
|
||||
|
||||
# Profiling tests...
|
||||
# nose-cprof
|
||||
|
||||
@@ -10,10 +10,8 @@ docutils==0.16
|
||||
dyn==1.8.1
|
||||
edgegrid-python==1.1.1
|
||||
fqdn==1.5.0
|
||||
futures==3.2.0; python_version < '3.2'
|
||||
google-cloud-core==1.4.1
|
||||
google-cloud-dns==0.32.0
|
||||
ipaddress==1.0.23; python_version < '3.3'
|
||||
jmespath==0.10.0
|
||||
msrestazure==0.6.4
|
||||
natsort==6.2.1
|
||||
|
||||
7
script/changelog
Executable file
7
script/changelog
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
VERSION=v$(grep __VERSION__ octodns/__init__.py | sed -e "s/^[^']*'//" -e "s/'$//")
|
||||
echo $VERSION
|
||||
git log --pretty="%h - %cr - %s (%an)" "${VERSION}..HEAD"
|
||||
@@ -21,7 +21,7 @@ VERSION="$(grep __VERSION__ "$ROOT/octodns/__init__.py" | sed -e "s/.* = '//" -e
|
||||
git tag -s "v$VERSION" -m "Release $VERSION"
|
||||
git push origin "v$VERSION"
|
||||
echo "Tagged and pushed v$VERSION"
|
||||
python setup.py sdist
|
||||
twine check dist/*$VERSION.tar.gz
|
||||
twine upload dist/*$VERSION.tar.gz
|
||||
python -m build --sdist --wheel
|
||||
twine check dist/*$VERSION.tar.gz dist/*$VERSION*.whl
|
||||
twine upload dist/*$VERSION.tar.gz dist/*$VERSION*.whl
|
||||
echo "Uploaded $VERSION"
|
||||
|
||||
Reference in New Issue
Block a user