Aggiunta file conf nuspec da testare + modifiche yaml x compilazione IobConf

This commit is contained in:
Samuele Locatelli
2025-02-12 18:23:49 +01:00
parent 0f7461f377
commit 377e159b36
4 changed files with 90 additions and 3 deletions
+41 -1
View File
@@ -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"]
+25
View File
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>EgwConf.Iob</id>
<version>#version#</version>
<title>EgwConf.Iob</title>
<authors>Samuele E. Locatelli, EgalWare</authors>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<license type="expression">MIT</license>
<description>Libreria per gestione configurazione in modalità *.ini (legacy) o *.yaml (nuova) dei singoli IOB-WIN-NEXT - beta/unstable</description>
<releaseNotes>#releaseNotes#</releaseNotes>
<copyright>#copyright#</copyright>
<tags>EgwConf.Iob EgwConf Iob</tags>
<dependencies>
<dependency id="Newtonsoft.Json" version="13.0.3" />
<dependency id="NLog" version="5.3.4" />
<dependency id="YamlDotNet" version="16.3.0" />
</dependencies>
</metadata>
<files>
<file src="EgwConf.Iob\bin\Debug\EgwConf*.dll" target="lib" />
<file src="EgwConf.Iob\bin\Debug\EgwConf*.config" target="lib" />
<file src="EgwConf.Iob\bin\Debug\EgwConf*.pdb" target="lib" />
</files>
</package>
+24
View File
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>EgwConf.Iob</id>
<version>#version#</version>
<title>EgwConf.Iob</title>
<authors>Samuele E. Locatelli, EgalWare</authors>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<license type="expression">MIT</license>
<description>Libreria per gestione configurazione in modalità *.ini (legacy) o *.yaml (nuova) dei singoli IOB-WIN-NEXT</description>
<releaseNotes>#releaseNotes#</releaseNotes>
<copyright>#copyright#</copyright>
<tags>EgwConf.Iob EgwConf Iob</tags>
<dependencies>
<dependency id="Newtonsoft.Json" version="13.0.3" />
<dependency id="NLog" version="5.3.4" />
<dependency id="YamlDotNet" version="16.3.0" />
</dependencies>
</metadata>
<files>
<file src="EgwConf.Iob\bin\Release\EgwConf*.dll" target="lib" />
<file src="EgwConf.Iob\bin\Release\EgwConf*.config" target="lib" />
</files>
</package>
-2
View File
@@ -12,10 +12,8 @@
<copyright>#copyright#</copyright>
<tags>EgwProxy.Ftp EgwProxy Ftp</tags>
<dependencies>
<group>
<dependency id="FluentFTP" version="41.0.0" />
<dependency id="Microsoft.Extensions.Logging.Abstractions" version="2.1.0" />
</group>
</dependencies>
</metadata>
<files>