Skip to content

Commit 55c245f

Browse files
committed
appveyor: another tweak
1 parent 86f11fc commit 55c245f

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

appveyor.yml

+9-6
Original file line numberDiff line numberDiff line change
@@ -44,21 +44,24 @@ install:
4444
fi
4545
4646
before_build:
47-
- |-
48-
if [ ${APPVEYOR_REPO_TAG} = "true" ]; then
49-
export VERSION=${APPVEYOR_REPO_TAG_NAME}
50-
export TIMESTAMP=$(shell date +%s)
51-
export GIT_COMMIT=$(shell git rev-parse --short HEAD)
52-
fi
5347
- |-
5448
if [ ${APPVEYOR_REPO_BRANCH} = "develop" ]; then
5549
export EQUINOX_CHANNEL=beta
5650
else
5751
export EQUINOX_CHANNEL=stable
5852
fi
53+
- |-
54+
if [ ${APPVEYOR_REPO_TAG} = "true" ]; then
55+
export VERSION=${APPVEYOR_REPO_TAG_NAME}
56+
fi
5957
6058
build_script:
6159
- make build
60+
- |-
61+
if [ ${APPVEYOR_REPO_TAG} = "true" ]; then
62+
export TIMESTAMP=$(shell date +%s)
63+
export GIT_COMMIT=$(shell git rev-parse --short HEAD)
64+
fi
6265
- |-
6366
if [ ${APPVEYOR_REPO_TAG} = "true" ]; then
6467
CGO=1 equinox release \

0 commit comments

Comments
 (0)