small changes
This commit is contained in:
parent
b1478b77b4
commit
1b6fd1cfdf
4 changed files with 24 additions and 10 deletions
23
build_newversion.sh
Normal file
23
build_newversion.sh
Normal file
|
@ -0,0 +1,23 @@
|
|||
#!/usr/bin/env bash
|
||||
# use this to create a new version, be sure to push the existing /debian folder from the old one
|
||||
new_version="0.0.2"
|
||||
python3 setup.py sdist
|
||||
cd dist || exit
|
||||
mkdir build_${new_version}
|
||||
mv *-${new_version}.tar.gz build_${new_version}
|
||||
cd build_${new_version} || exit
|
||||
tar -xzmf *-${new_version}.tar.gz
|
||||
new_version="complib-${new_version}"
|
||||
cd ${new_version} || exit
|
||||
|
||||
if [ -d "debian" ]; then
|
||||
echo "Found debian folder"
|
||||
else
|
||||
echo "Could not find debian folder, cloning repo"
|
||||
git clone https://github.com/F-WuTS/complib-DEB.git
|
||||
mv complib-DEB debian
|
||||
git init
|
||||
fi
|
||||
|
||||
#debmake -b":python3"
|
||||
#gbp buildpackage --git-sign-tags --git-keyid=97B61E4D515353C0A498D2AB22680B5AAC0C4FCE --git-ignore-new # git ignore while developing
|
|
@ -2,15 +2,6 @@ import requests
|
|||
import json
|
||||
import os
|
||||
|
||||
API_URL = os.getenv("API_URL", "http://localhost:5000/")
|
||||
API_URL_GET_POS = API_URL + "getPos"
|
||||
API_URL_GET_OP = API_URL + "getOp"
|
||||
API_URL_GET_GOAL = API_URL + "getGoal"
|
||||
API_URL_GET_ITEMS = API_URL + "getItems"
|
||||
|
||||
import json
|
||||
import os
|
||||
|
||||
API_URL = os.getenv("API_URL", "http://localhost:5000/") + "api/"
|
||||
API_URL_GET_POS = API_URL + "getPos"
|
||||
API_URL_GET_OP = API_URL + "getOp"
|
||||
|
|
|
@ -1 +1 @@
|
|||
__version__ = "0.0.1"
|
||||
__version__ = "0.0.2"
|
0
init_gbp.sh
Normal file
0
init_gbp.sh
Normal file
Reference in a new issue