File tree Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ set -euo pipefail; IFS=$' \n\t '
3+
4+ NAME=$( python setup.py --name )
5+ VER=$( python setup.py --version )
6+
7+ echo " ========================================================================"
8+ echo " Tagging $NAME v$VER "
9+ echo " ========================================================================"
10+
11+ git tag -a v$VER
12+ git push origin v$VER
13+
14+ echo " ========================================================================"
15+ echo " Releasing $NAME v$VER on PyPI"
16+ echo " ========================================================================"
17+
18+ python setup.py sdist
19+ twine upload dist/*
20+ rm -r dist/ * .egg-info
Original file line number Diff line number Diff line change 1313
1414setup (
1515 name = 'xtrack' ,
16- version = '0.0.1 ' ,
16+ version = '0.1.0 ' ,
1717 description = 'Tracking library for particle accelerators' ,
1818 url = 'https://github.com/xsuite/xtrack' ,
19- author = 'Riccard De Maria' ,
19+ author = 'Riccard De Maria, Giovanni Iadarola ' ,
2020 packages = find_packages (),
2121 ext_modules = extensions ,
2222 install_requires = [
You can’t perform that action at this time.
0 commit comments