Skip to content

Commit

Permalink
v0.0.1rc1 (#12)
Browse files Browse the repository at this point in the history
* Create Makefile

* Update reinstall.sh

* Update version.py
  • Loading branch information
MMathisLab authored Nov 2, 2024
1 parent a448d02 commit 1d68614
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
14 changes: 14 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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)
2 changes: 1 addition & 1 deletion aros_node/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.0.1"
__version__ = "0.0.1rc1"
4 changes: 2 additions & 2 deletions reinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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"
pip install --upgrade --no-cache-dir "dist/aros_node-${VERSION}-py3-none-any.whl"

0 comments on commit 1d68614

Please sign in to comment.