Skip to content

Commit

Permalink
release script
Browse files Browse the repository at this point in the history
  • Loading branch information
Hakan Ardo committed Nov 6, 2024
1 parent 402ec2c commit e326b3e
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 15 deletions.
13 changes: 13 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

#!/bin/sh

set -e

if [ ! -z "`git diff`" ]; then
echo Please commit first
exit
fi

git tag -a v$(python -c 'import setup; print(setup.__version__)') -m release
git push --tags

29 changes: 15 additions & 14 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,18 @@
with open(os.path.join(os.path.dirname(__file__), "sskit", "version.py")) as fp:
exec(fp.read())

setup(
name='sskit',
description='Spiideo Scenes development Kit',
long_description='''
Development Kit for the Spiideo SoccerNet SynLoc task and Challange
''',
version=__version__,
packages=['sskit'],
zip_safe=False,
url='https://github.com/Spiideo/sskit',
author='Hakan Ardo',
author_email='[email protected]',
license='MIT',
)
if __name__ == '__main__':
setup(
name='sskit',
description='Spiideo Scenes development Kit',
long_description='''
Development Kit for the Spiideo SoccerNet SynLoc task and Challange
''',
version=__version__,
packages=['sskit'],
zip_safe=False,
url='https://github.com/Spiideo/sskit',
author='Hakan Ardo',
author_email='[email protected]',
license='MIT',
)
2 changes: 1 addition & 1 deletion sskit/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version_info__ = (0, 1, 0)
__version_info__ = (0, 2, 0)
__version__ = '.'.join(str(i) for i in __version_info__)

0 comments on commit e326b3e

Please sign in to comment.