test vers numb

This commit is contained in:
Samuele E. Locatelli
2021-03-26 23:21:59 +01:00
parent 82f1825512
commit c9bebec867
+11 -1
View File
@@ -6,13 +6,18 @@ variables:
DEPLOY_FOLDER: 'c:\Projects\Deploy\GPW\Builds'
VERS_MAIN: '2.7'
REL_NUM: '4159'
VERS_NUMBER: '$VERS_MAIN.2103.$REL_NUM'
VERS_NUMBER: '$VERS_MAIN.2103.$CI_PIPELINE_IID'
# EXE_RELEASE_FOLDER: 'YourApp\bin\Release'
# MSI_RELEASE_FOLDER: 'Setup\bin\Release'
# TEST_FOLDER: 'Tests\bin\Release'
# DEPLOY_FOLDER: 'P:\Projects\YourApp\Builds'
# NUNIT_PATH: 'C:\Program Files (x86)\NUnit.org\nunit-console\nunit3-console.exe'
# VARIABILI
# Tema numero versione: si potrebbe usare la variabile CI_COMMIT_TAG con $env:CI_COMMIT_TAG, in questo caso SOLO SE c'è un tag sistema versione...
# Tema compilazione x branch: $CI_COMMIT_BRANCH == "my-branch" potrebbe essere condizione if x fare alcuni sscript...
# rif: https://docs.gitlab.com/ee/ci/variables/predefined_variables.html
# Da approfondire:
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/dotNET.gitlab-ci.yml
# https://www.google.com/search?q=gitlab+variable+year+month&rlz=1C1GCEA_enIT945IT945&oq=gitlab+variable+year+month&aqs=chrome..69i57j69i64.5262j0j7&sourceid=chrome&ie=UTF-8
@@ -20,6 +25,8 @@ variables:
# https://docs.gitlab.com/ee/ci/quick_start/index.html
# https://docs.gitlab.com/ee/ci/yaml/
# helper x fix pacchetti nuget da repo locale nexus.steamware.net
.nuget-fix: &nuget-fix
- |
@@ -33,6 +40,9 @@ variables:
# path alla solution corrente
- '& "$env:NUGET_PATH" restore GPW.sln'
.versNumbFix: &versNumbFix
- echo $env:VERS_NUMBER
stages:
- build
- deploy