diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dcf8249..b1e2b25 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -146,31 +146,31 @@ Egw.Window.Data:build: - dotnet build $env:APP_NAME/$env:APP_NAME.csproj -# # -------------------------------- -# # DEPLOY develop (IIS01 + beta nuget) -# # -------------------------------- -# Egw.Window.Data:SDK:deploy: -# stage: deploy -# tags: -# - win -# variables: -# APP_NAME: Egw.Window.Data -# SOL_NAME: Egw.Window -# NU_TYPE: Debug -# before_script: -# - *nuget-fix -# - dotnet restore "$env:SOL_NAME.sln" -# rules: -# - if: $CI_COMMIT_BRANCH == 'develop' -# - if: $CI_COMMIT_BRANCH =~ /^feature\/Test.UI.+/ -# when: always -# needs: ["Egw.Window.Data:build"] -# script: -# - dotnet build $env:APP_NAME/$env:APP_NAME.csproj -# - *nuspec-fix -# - dotnet pack -p:Configuration=Debug -p:verbosity=quiet --output $env:APP_NAME/bin/ $env:APP_NAME/$env:APP_NAME.csproj -# - '& "$env:NUGET_PATH" setapikey $NUGET_API_KEY -source http://nexus.steamware.net/repository/nuget-hosted' -# - '& "$env:NUGET_PATH" push $env:APP_NAME/bin/Egw.Lux.$env:APP_NAME.$env:NUM_REL.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted' +# -------------------------------- +# DEPLOY develop (IIS01 + beta nuget) +# -------------------------------- +Egw.Window.Data:SDK:deploy: + stage: deploy + tags: + - win + variables: + APP_NAME: Egw.Window.Data + SOL_NAME: Egw.Window + NU_TYPE: Debug + before_script: + - *nuget-fix + - dotnet restore "$env:SOL_NAME.sln" + rules: + - if: $CI_COMMIT_BRANCH == 'develop' + - if: $CI_COMMIT_BRANCH =~ /^feature\/Test.UI.+/ + when: always + needs: ["Egw.Window.Data:build"] + script: + - dotnet build $env:APP_NAME/$env:APP_NAME.csproj + - *nuspec-fix + - dotnet pack -p:Configuration=Debug -p:verbosity=quiet --output $env:APP_NAME/bin/ $env:APP_NAME/$env:APP_NAME.csproj + - '& "$env:NUGET_PATH" setapikey $NUGET_API_KEY -source http://nexus.steamware.net/repository/nuget-hosted' + - '& "$env:NUGET_PATH" push $env:APP_NAME/bin/Egw.Lux.$env:APP_NAME.$env:NUM_REL.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted' # # -------------------------------- # # RELEASE (main brach only)