Fix env variable setting
This commit is contained in:
Родитель
6630270a72
Коммит
efc491e541
|
@ -1,5 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
export STEELTOE_VERSION_SUFFIX=$TRAVIS_BRANCH-$TRAVIS_BUILD_NUMBER
|
||||
echo $STEELTOE_VERSION_SUFFIX
|
||||
|
||||
# Restore packages
|
||||
dotnet restore --configfile nuget.config
|
||||
|
||||
|
|
|
@ -6,8 +6,6 @@ if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ln -s /usr/local/opt/openssl/lib/libss
|
|||
|
||||
dotnet --info
|
||||
|
||||
export STEELTOE_VERSION_SUFFIX=$TRAVIS_BRANCH-$TRAVIS_BUILD_NUMBER
|
||||
echo $STEELTOE_VERSION_SUFFIX
|
||||
if [[ "$TRAVIS_BRANCH" == "master" ]]; then cp config/nuget-master.config ./nuget.config ; fi
|
||||
if [[ "$TRAVIS_BRANCH" == "dev" ]]; then cp config/nuget-dev.config ./nuget.config ; fi
|
||||
if [[ "$TRAVIS_TAG" != "" ]]; then cp config/nuget.config ./nuget.config ; fi
|
||||
|
|
Загрузка…
Ссылка в новой задаче