Mercurial > kallithea
comparison scripts/make-release @ 7320:b3289fef0daa
Merge stable
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Thu, 07 Jun 2018 01:46:02 +0200 |
parents | dba4e770d4b6 f5b5749113aa |
children | d5eaa70e0f2a |
comparison
equal
deleted
inserted
replaced
7299:57a733313e4f | 7320:b3289fef0daa |
---|---|
1 #!/bin/bash | 1 #!/bin/bash |
2 set -e | 2 set -e |
3 set -x | 3 set -x |
4 | |
5 cleanup() | |
6 { | |
7 echo "Removing venv $venv" | |
8 rm -rf "$venv" | |
9 } | |
10 | |
11 echo "Checking that you are NOT inside a virtualenv" | |
12 [ -z "$VIRTUAL_ENV" ] | |
13 | |
14 venv=$(mktemp -d --tmpdir kallithea-release-XXXXX) | |
15 trap cleanup EXIT | |
16 | |
17 echo "Setting up a fresh virtualenv in $venv" | |
18 virtualenv -p python2 "$venv" | |
19 . "$venv/bin/activate" | |
4 | 20 |
5 echo "Install/verify tools needed for building and uploading stuff" | 21 echo "Install/verify tools needed for building and uploading stuff" |
6 pip install --upgrade -e . | 22 pip install --upgrade -e . |
7 pip install --upgrade -r dev_requirements.txt Sphinx Sphinx-PyPI-upload | 23 pip install --upgrade -r dev_requirements.txt Sphinx Sphinx-PyPI-upload |
8 | 24 |
38 python2 setup.py build_sphinx # not used yet ... but we want to make sure it builds | 54 python2 setup.py build_sphinx # not used yet ... but we want to make sure it builds |
39 | 55 |
40 cat - << EOT | 56 cat - << EOT |
41 | 57 |
42 Now, make sure | 58 Now, make sure |
43 * the copyright and contributor lists have been updated | |
44 * all tests are passing | 59 * all tests are passing |
45 * release note is ready | 60 * release note is ready |
46 * announcement is ready | 61 * announcement is ready |
47 * source has been pushed to https://kallithea-scm.org/repos/kallithea | 62 * source has been pushed to https://kallithea-scm.org/repos/kallithea |
48 | 63 |