mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00

ensures devel builds always get reinstalled, since they don't match the declared version in the wheel
17 lines
268 B
Bash
Executable file
17 lines
268 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
. scripts.inc
|
|
|
|
rm -rf dist
|
|
|
|
for dir in $DEVEL; do
|
|
echo $dir
|
|
(cd $dir && make build BUILDFLAGS="$BUILDFLAGS")
|
|
done
|
|
|
|
# add build hash to outputs
|
|
ver=$(cat meta/version)
|
|
hash=$(cat meta/buildhash)
|
|
(cd dist && rename "s/$ver/${ver}+$hash/" *.whl)
|