From 377e159b3696d97600ae7ef01873a7f500722ca1 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Wed, 12 Feb 2025 18:23:49 +0100 Subject: [PATCH] Aggiunta file conf nuspec da testare + modifiche yaml x compilazione IobConf --- .gitlab-ci.yml | 42 +++++++++++++++++++++++++++++++++++++- EgwConf.Iob.Debug.nuspec | 25 +++++++++++++++++++++++ EgwConf.Iob.Release.nuspec | 24 ++++++++++++++++++++++ EgwProxy.Ftp.Debug.nuspec | 2 -- 4 files changed, 90 insertions(+), 3 deletions(-) create mode 100644 EgwConf.Iob.Debug.nuspec create mode 100644 EgwConf.Iob.Release.nuspec diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 992f2e5..ecfbcd7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -165,6 +165,19 @@ stages: # -------------------------------- # BUILD # -------------------------------- +EgwConf.Iob:build: + stage: build + tags: + - win + variables: + APP_NAME: EgwConf.Iob + before_script: + - *nuget-fix + - '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet' + - *version-fix + script: + - '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=Release /p:Platform="x86" /p:OutputPath=bin/ /nodeReuse:false /verbosity:minimal /m' + EgwProxy.Ftp:build: stage: build tags: @@ -256,10 +269,37 @@ EgwProxy.SqlDb:build: script: - '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=Release /p:Platform="x86" /p:OutputPath=bin/ /nodeReuse:false /verbosity:minimal /m' - # -------------------------------- # STAGING: (nuget beta) # -------------------------------- +EgwConf.Iob:staging: + stage: staging + needs: ["EgwConf.Iob:build"] + tags: + - win + variables: + CONFIG: Debug + APP_NAME: EgwConf.Iob + # rules: + # - if: $CI_COMMIT_BRANCH == 'develop' + # changes: + # - EgwConf.Iob/* + # when: always + # - if: $CI_COMMIT_BRANCH == 'SDK/Conf' + # changes: + # - EgwConf.Iob/* + before_script: + - *nuget-fix + - '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet' + - *version-fix + - *nuspec-fix + script: + - '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=$env:CONFIG /p:Platform="Any CPU" /p:OutputPath=bin/$env:CONFIG /verbosity:minimal /m' + - '& Remove-Item *.nupkg' + - '& $env:NUGET_PATH pack "$env:APP_NAME.Debug.nuspec"' + - '& "$env:NUGET_PATH" setapikey $NUGET_API_KEY -source http://nexus.steamware.net/repository/nuget-hosted' + - '& "$env:NUGET_PATH" push *$env:NUM_DEB.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted' + EgwProxy.Ftp:staging: stage: staging needs: ["EgwProxy.Ftp:build"] diff --git a/EgwConf.Iob.Debug.nuspec b/EgwConf.Iob.Debug.nuspec new file mode 100644 index 0000000..8124496 --- /dev/null +++ b/EgwConf.Iob.Debug.nuspec @@ -0,0 +1,25 @@ + + + + EgwConf.Iob + #version# + EgwConf.Iob + Samuele E. Locatelli, EgalWare + false + MIT + Libreria per gestione configurazione in modalità *.ini (legacy) o *.yaml (nuova) dei singoli IOB-WIN-NEXT - beta/unstable + #releaseNotes# + #copyright# + EgwConf.Iob EgwConf Iob + + + + + + + + + + + + \ No newline at end of file diff --git a/EgwConf.Iob.Release.nuspec b/EgwConf.Iob.Release.nuspec new file mode 100644 index 0000000..3103b1e --- /dev/null +++ b/EgwConf.Iob.Release.nuspec @@ -0,0 +1,24 @@ + + + + EgwConf.Iob + #version# + EgwConf.Iob + Samuele E. Locatelli, EgalWare + false + MIT + Libreria per gestione configurazione in modalità *.ini (legacy) o *.yaml (nuova) dei singoli IOB-WIN-NEXT + #releaseNotes# + #copyright# + EgwConf.Iob EgwConf Iob + + + + + + + + + + + \ No newline at end of file diff --git a/EgwProxy.Ftp.Debug.nuspec b/EgwProxy.Ftp.Debug.nuspec index a10657b..247796a 100644 --- a/EgwProxy.Ftp.Debug.nuspec +++ b/EgwProxy.Ftp.Debug.nuspec @@ -12,10 +12,8 @@ #copyright# EgwProxy.Ftp EgwProxy Ftp - -