-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.cmd
23 lines (23 loc) · 836 Bytes
/
build.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@echo off
cls
cd %~dp0
echo Last Version:
type version
echo.
set /p "ver=This Version (x.x.x)> "
echo %ver%>version
git init
git remote add origin https://github.com/hstoreinteractive/thehsi-python.git
git add .
git commit -m "Updated to v%ver%"
git push -u origin main
pause
python setup.py sdist
echo.
echo Username: __token__
echo Password: pypi-AgEIcHlwaS5vcmcCJDNiMmZjMTZiLTYxYTctNGJjMS05MjU5LWVhNTI0MWRlOTBhNgACDlsxLFsidGhlaHNpIl1dAAIsWzIsWyIzZDc5MjU0OS0xMjQ0LTQ5MjUtOTc0Yi1kYmQ5NDYxNGFjN2QiXV0AAAYg6R2JOfcAJuA2ACuWS4WgCttfWxyXPZ6Vr0Yeb2O9zR4
echo pypi-AgEIcHlwaS5vcmcCJDNiMmZjMTZiLTYxYTctNGJjMS05MjU5LWVhNTI0MWRlOTBhNgACDlsxLFsidGhlaHNpIl1dAAIsWzIsWyIzZDc5MjU0OS0xMjQ0LTQ5MjUtOTc0Yi1kYmQ5NDYxNGFjN2QiXV0AAAYg6R2JOfcAJuA2ACuWS4WgCttfWxyXPZ6Vr0Yeb2O9zR4 | clip
echo.
twine upload dist/*
rmdir /S /Q thehsi.egg-info
rmdir /S /Q dist