File: deploy.sh

package info (click to toggle)
pyaxmlparser 0.3.31-1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,552 kB
  • sloc: python: 3,089; xml: 2,517; sh: 9; makefile: 6
file content (18 lines) | stat: -rwxr-xr-x 372 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /bin/bash
#
# deploy.sh
# Copyright (C) 2015 Subho Halder <sunny@appknox.com>
#
# Distributed under terms of the MIT license.
#


rm -rf dist/
bumpversion patch
export CURRENT_BRANCH
CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD)
git push --tags
git push origin "$CURRENT_BRANCH:$CURRENT_BRANCH"
python setup.py sdist
python setup.py bdist_wheel
twine upload dist/*