diff options
author | Paul Wise <pabs3@bonedaddy.net> | 2018-04-29 11:40:58 +0800 |
---|---|---|
committer | Paul Wise <pabs3@bonedaddy.net> | 2018-04-29 11:40:58 +0800 |
commit | 5bdd01c3b3b1c415c71b00b2374538995f63597c (patch) | |
tree | bc3d4920f3fe032736b2fe90855e8d7280801da3 /release.sh | |
parent | 733f3f864819ff04dd210bfde785d28e00e325fa (diff) | |
download | iotop-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-x | release.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |