summaryrefslogtreecommitdiff
path: root/release.sh
diff options
context:
space:
mode:
authorPaul Wise <pabs3@bonedaddy.net>2018-04-29 11:40:58 +0800
committerPaul Wise <pabs3@bonedaddy.net>2018-04-29 11:40:58 +0800
commit5bdd01c3b3b1c415c71b00b2374538995f63597c (patch)
treebc3d4920f3fe032736b2fe90855e8d7280801da3 /release.sh
parent733f3f864819ff04dd210bfde785d28e00e325fa (diff)
downloadiotop-5bdd01c3b3b1c415c71b00b2374538995f63597c.tar.gz
Switch from python to python3
Python 2 will be EOL in 2020 so Python 3 is preferrable. See-also: https://pythonclock.org/
Diffstat (limited to 'release.sh')
-rwxr-xr-xrelease.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/release.sh b/release.sh
index fa7c899..3923aef 100755
--- a/release.sh
+++ b/release.sh
@@ -6,7 +6,7 @@ set -e # Exit on error
PACKAGE=$(basename "$PWD")
mkdir dist
TEMPDIR="$(mktemp -d)"
-VERSION=$(python -c "from $PACKAGE.version import VERSION; print VERSION")
+VERSION=$(python3 -c "from $PACKAGE.version import VERSION; print VERSION")
echo "$PACKAGE-$VERSION: $TEMPDIR"
mkdir "$TEMPDIR/$PACKAGE-$VERSION"
git archive HEAD | (cd "$TEMPDIR/$PACKAGE-$VERSION" && tar vx)