Update verify.sh script
This commit is contained in:
parent
ba2bf40ede
commit
5b44cadb74
|
@ -131,7 +131,10 @@ linux:
|
||||||
# dist builds binaries for all platforms and packages them for distribution
|
# dist builds binaries for all platforms and packages them for distribution
|
||||||
dist:
|
dist:
|
||||||
@$(SHELL) $(CURDIR)/build-support/scripts/release.sh -t '$(DIST_TAG)' -b '$(DIST_BUILD)' -S '$(DIST_SIGN)' $(DIST_VERSION_ARG) $(DIST_DATE_ARG) $(DIST_REL_ARG)
|
@$(SHELL) $(CURDIR)/build-support/scripts/release.sh -t '$(DIST_TAG)' -b '$(DIST_BUILD)' -S '$(DIST_SIGN)' $(DIST_VERSION_ARG) $(DIST_DATE_ARG) $(DIST_REL_ARG)
|
||||||
|
|
||||||
|
verify:
|
||||||
|
@$(SHELL) $(CURDIR)/build-support/scripts/verify.sh
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
@$(SHELL) $(CURDIR)/build-support/scripts/publish.sh $(PUB_GIT_ARG) $(PUB_WEBSITE_ARG)
|
@$(SHELL) $(CURDIR)/build-support/scripts/publish.sh $(PUB_GIT_ARG) $(PUB_WEBSITE_ARG)
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,7 @@ function err_usage {
|
||||||
|
|
||||||
function main {
|
function main {
|
||||||
declare sdir="${SOURCE_DIR}"
|
declare sdir="${SOURCE_DIR}"
|
||||||
declare vers="$(parse_version true false)"
|
declare vers=""
|
||||||
|
|
||||||
while test $# -gt 0
|
while test $# -gt 0
|
||||||
do
|
do
|
||||||
|
@ -80,6 +80,11 @@ function main {
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
if test -z "${vers}"
|
||||||
|
then
|
||||||
|
vers=$(parse_version "${sdir}" true false)
|
||||||
|
fi
|
||||||
|
|
||||||
status_stage "=> Starting release verification for version: ${version}"
|
status_stage "=> Starting release verification for version: ${version}"
|
||||||
verify_release_build "${sdir}" "${vers}" || return 1
|
verify_release_build "${sdir}" "${vers}" || return 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue