forked from nchammas/flintrock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmake-release.sh
40 lines (29 loc) · 951 Bytes
/
make-release.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Update:
# - Default Spark and Hadoop versions
# - Default Amazon Linux AMI
# - Dependencies
# Run full acceptance tests
# Update Flintrock version
# - flintrock/__init__.py
# Update CHANGES
# - Check: https://github.com/nchammas/flintrock/pulls?q=is%3Apr+is%3Aclosed+label%3A%22needs+changelog%22
# - Update "Unreleased" section. "Nothing notable yet."
# Tag release on GitHub
trash dist/ build/ Flintrock.egg-info/
python setup.py sdist bdist_wheel
# python setup.py register -r https://testpypi.python.org/pypi
twine upload dist/* --repository pypitest
python generate-standalone-package.py
# open dist/
# Upload release builds to GitHub
# - Wheel
# - OS X standalone package
# - Linux standalone package
# Update version to next.dev0
# ---
# Test release via pip
deactivate
trash venv
python3 -m venv venv
source venv/bin/activate
python3 -m pip install --extra-index-url https://testpypi.python.org/simple flintrock