mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
add build hash to generated wheels
ensures devel builds always get reinstalled, since they don't match the declared version in the wheel
This commit is contained in:
parent
a898f61ddd
commit
335430a9a6
1 changed files with 7 additions and 0 deletions
7
build
7
build
|
@ -4,7 +4,14 @@ 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)
|
||||
|
|
Loading…
Reference in a new issue