diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..7a1cf55 --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +AROS_VERSION := 0.0.1rc1 + +dist: + python3 -m pip install virtualenv + python3 -m pip install --upgrade build twine + python3 -m build --wheel --sdist + +build: dist + +archlinux: + mkdir -p dist/arch + cp PKGBUILD dist/arch + cp dist/aros_node-${AROS_VERSION}.tar.gz dist/arch + (cd dist/arch; makepkg --skipchecksums -f) diff --git a/aros_node/version.py b/aros_node/version.py index f102a9c..4abfd8a 100644 --- a/aros_node/version.py +++ b/aros_node/version.py @@ -1 +1 @@ -__version__ = "0.0.1" +__version__ = "0.0.1rc1" diff --git a/reinstall.sh b/reinstall.sh index 082d492..2beb55d 100755 --- a/reinstall.sh +++ b/reinstall.sh @@ -13,7 +13,7 @@ set -e # abort on error pip uninstall -y aros-node # Get version -VERSION=0.0.1 +VERSION=0.0.1rc1 echo "Upgrading to AROS v${VERSION}" # Upgrade the build system (PEP517/518 compatible) @@ -22,4 +22,4 @@ python3 -m pip install --upgrade build python3 -m build --sdist --wheel . # Reinstall the package with most recent version -pip install --upgrade --no-cache-dir "dist/aros_node-${VERSION}-py3-none-any.whl" \ No newline at end of file +pip install --upgrade --no-cache-dir "dist/aros_node-${VERSION}-py3-none-any.whl"