mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-29 14:45:07 +03:00
test msi and semver scripts
Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
parent
55bc781b32
commit
00d327dd54
2 changed files with 4 additions and 2 deletions
|
@ -21,7 +21,6 @@ fi
|
||||||
if [ "${APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH}" != "" ];
|
if [ "${APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH}" != "" ];
|
||||||
then
|
then
|
||||||
git fetch --all
|
git fetch --all
|
||||||
echo "HEAD_REPO_BRANCH is ${APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH}"
|
|
||||||
# git checkout ${APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH}
|
# git checkout ${APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH}
|
||||||
elif [ "${APPVEYOR_REPO_BRANCH}" != "" ];
|
elif [ "${APPVEYOR_REPO_BRANCH}" != "" ];
|
||||||
then
|
then
|
||||||
|
|
|
@ -3,8 +3,11 @@
|
||||||
# Get the current branch name
|
# Get the current branch name
|
||||||
BRANCH=$(git symbolic-ref --short HEAD 2>/dev/null)
|
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
|
# Complain if the git history is not available
|
||||||
if [ $? != 0 ] || [ -z "$BRANCH" ]; then
|
elif [ $? != 0 ] || [ -z "$BRANCH" ]; then
|
||||||
printf "yggdrasil"
|
printf "yggdrasil"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue