From bf3caa2aeec8b1db86d823b788b74d908ebeddf1 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Wed, 3 Aug 2022 16:49:00 +0200 Subject: [PATCH] fix path versGen --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c7190f1..5d4087a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,10 +29,10 @@ variables: $env:NUM_REL = $env:VERS_MAIN+"."+(get-date –format yyMM)+"."+(get-date –format dHH) $env:NUM_DEB = $env:VERS_MAIN+"."+(get-date –format yyMM)+"-beta."+(get-date –format dHH) $env:NEW_COPYRIGHT = "EgalWare @ 2006-" + (get-date -format yyyy) - $contenuto = Get-Content -path 'VersGen\VersGen.cs' -Raw + $contenuto = Get-Content -path 'MTC_Adapter\VersGen\VersGen.cs' -Raw $newContenuto = $contenuto -replace '1.0.0.0', $env:NEW_REL $newContenuto = $newContenuto -replace 'EgalWare © 2006', $env:NEW_COPYRIGHT - $newContenuto | Set-Content -Path 'VersGen\VersGen.cs' + $newContenuto | Set-Content -Path 'MTC_Adapter\VersGen\VersGen.cs' # display versioni generate $resoconto = "Effettuato fix file VersGen | release v: " + $env:NUM_REL + " | debug v: " + $env:NUM_DEB; Write-Output $resoconto;