use latest modification of package as version
This commit is contained in:
parent
d8e7db809a
commit
fccd0d4983
@ -1,5 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
for dir in $(find -maxdepth 1 -not -path '*/\.*' -not -path '\.' -type d | cut -d '/' -f 2); do
|
for dir in $(find -maxdepth 1 -not -path '*/\.*' -not -path '\.' -type d | cut -d '/' -f 2); do
|
||||||
echo lua makepkg.lua "$dir" "$1" "$(git rev-parse --short HEAD)"
|
VER="$(git log -n 1 --pretty=format:%h -- "$dir")"
|
||||||
lua makepkg.lua "$dir" "$1" "$(git rev-parse --short HEAD)"
|
VER=${VER:-$2}
|
||||||
|
lua5.3 makepkg.lua "$dir" "$1" "$VER"
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user