File tree Expand file tree Collapse file tree 4 files changed +21
-8
lines changed Expand file tree Collapse file tree 4 files changed +21
-8
lines changed Original file line number Diff line number Diff line change 1- #! /bin/bash
1+
2+ function changeToProjectRoot {
3+
4+ export areHere=` basename ${PWD} `
5+ if [[ ${areHere} = " scripts" ]]; then
6+ cd ..
7+ fi
8+ }
9+
10+ changeToProjectRoot
211
312rm -rf dist build python3_albow.egg-info
Original file line number Diff line number Diff line change 22#
33# Assumes python 3 is on PATH
44#
5+
6+ function changeToProjectRoot {
7+
8+ export areHere=` basename ${PWD} `
9+ if [[ ${areHere} = " scripts" ]]; then
10+ cd ..
11+ fi
12+ }
13+
14+ changeToProjectRoot
15+
516clear
617
718source venv-albow-Python-3.8.5/bin/activate
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- source venv-albow-Python-3.8.5/bin/activate
4-
53twine upload dist/*
64
7- deactivate
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- source venv-albow-Python-3.8.5/bin/activate
4-
53twine upload --repository-url https://test.pypi.org/legacy/ dist/*
6-
7- deactivate
You can’t perform that action at this time.
0 commit comments