Add --reset flag to meson subprojects update

This prevents us from exiting early, as meson will return non zero.
This commit is contained in:
Ahsan Fayaz 2023-12-06 12:19:18 +00:00
parent 41191dc607
commit 49dc7ee49b

View File

@ -12,7 +12,7 @@ VERSION=$(git describe --tags --dirty)
git archive HEAD --format=tar --prefix=${NAME}-${VERSION}/ --output=${NAME}-${VERSION}.tar
# get code from subprojects
meson subprojects download
meson subprojects update
meson subprojects update --reset
tar -rf ${NAME}-${VERSION}.tar --exclude-vcs --transform="s,^subprojects,${NAME}-$VERSION/subprojects," subprojects/inih-r54/
# compress archive
xz -9 "${NAME}-${VERSION}.tar"