Skip to content

Commit 1d68614

Browse files
authored
v0.0.1rc1 (#12)
* Create Makefile * Update reinstall.sh * Update version.py
1 parent a448d02 commit 1d68614

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

Makefile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
AROS_VERSION := 0.0.1rc1
2+
3+
dist:
4+
python3 -m pip install virtualenv
5+
python3 -m pip install --upgrade build twine
6+
python3 -m build --wheel --sdist
7+
8+
build: dist
9+
10+
archlinux:
11+
mkdir -p dist/arch
12+
cp PKGBUILD dist/arch
13+
cp dist/aros_node-${AROS_VERSION}.tar.gz dist/arch
14+
(cd dist/arch; makepkg --skipchecksums -f)

aros_node/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.0.1"
1+
__version__ = "0.0.1rc1"

reinstall.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ set -e # abort on error
1313
pip uninstall -y aros-node
1414

1515
# Get version
16-
VERSION=0.0.1
16+
VERSION=0.0.1rc1
1717
echo "Upgrading to AROS v${VERSION}"
1818

1919
# Upgrade the build system (PEP517/518 compatible)
@@ -22,4 +22,4 @@ python3 -m pip install --upgrade build
2222
python3 -m build --sdist --wheel .
2323

2424
# Reinstall the package with most recent version
25-
pip install --upgrade --no-cache-dir "dist/aros_node-${VERSION}-py3-none-any.whl"
25+
pip install --upgrade --no-cache-dir "dist/aros_node-${VERSION}-py3-none-any.whl"

0 commit comments

Comments
 (0)