test msi and semver scripts

Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
R4SAS 2021-12-24 05:38:02 +03:00
parent 55bc781b32
commit 00d327dd54
2 changed files with 4 additions and 2 deletions

View file

@ -21,7 +21,6 @@ fi
if [ "${APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH}" != "" ];
then
git fetch --all
echo "HEAD_REPO_BRANCH is ${APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH}"
# git checkout ${APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH}
elif [ "${APPVEYOR_REPO_BRANCH}" != "" ];
then

View file

@ -3,8 +3,11 @@
# Get the current branch name
BRANCH=$(git symbolic-ref --short HEAD 2>/dev/null)
if [ -n "$APPVEYOR_PULL_REQUEST_NUMBER" ]; then
printf "yggdrasil-pr%s" "$APPVEYOR_PULL_REQUEST_NUMBER"
exit 0
# Complain if the git history is not available
if [ $? != 0 ] || [ -z "$BRANCH" ]; then
elif [ $? != 0 ] || [ -z "$BRANCH" ]; then
printf "yggdrasil"
exit 0
fi