Skip to content

Commit 7dd8e49

Browse files
committed
Publish GS2Engine packages to private feed
Changed: - Update GS2Engine package copyright metadata through 2026. Added: - Publish release packages to the private Preagonal NuGet feed from Jenkins using its dedicated credential. - Report successful private-feed publication through the existing Discord build notification.
1 parent cfc3641 commit 7dd8e49

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

Jenkinsfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,10 @@ def buildStepDocker() {
177177
''');
178178
discordSend description: "NuGet Successful", footer: "", link: env.BUILD_URL, result: currentBuild.currentResult, title: "[${split_job_name[0]}] Artifact Successful: ${fixed_job_name} #${env.BUILD_NUMBER}", webhookURL: env.GS2EMU_WEBHOOK;
179179
}
180+
withCredentials([string(credentialsId: 'PREAGONAL_PRIVATE_NUGET_TOKEN', variable: 'NUGET_TOKEN')]) {
181+
sh("dotnet nuget push --skip-duplicate -s https://packages.preagonal.net/nuget/ -k ${env.NUGET_TOKEN} Preagonal.Scripting.GS2Engine/bin/Release/*.nupkg;chmod 777 -R .");
182+
discordSend description: "NuGet Successful", footer: "", link: env.BUILD_URL, result: currentBuild.currentResult, title: "[${split_job_name[0]}] Artifact Successful: ${fixed_job_name} #${env.BUILD_NUMBER}", webhookURL: env.GS2EMU_WEBHOOK;
183+
}
180184
withCredentials([string(credentialsId: 'PREAGONAL_NUGET_TOKEN', variable: 'NUGET_TOKEN')]) {
181185
sh('''
182186
trap 'chmod 777 -R .' EXIT
@@ -324,4 +328,4 @@ node('master') {
324328
}
325329

326330
sh("rm -rf ./*");
327-
}
331+
}

Preagonal.Scripting.GS2Engine/Preagonal.Scripting.GS2Engine.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<LangVersion>latest</LangVersion>
88
<Title>GS2Engine</Title>
99
<Authors>Preagonal</Authors>
10-
<Copyright>Preagonal 2023-2024</Copyright>
10+
<Copyright>Preagonal 2023-2026</Copyright>
1111
<PackageProjectUrl>https://github.com/Preagonal/GS2Engine</PackageProjectUrl>
1212
<RepositoryUrl>https://github.com/Preagonal/GS2Engine</RepositoryUrl>
1313
<AssemblyVersion>1.0.0</AssemblyVersion>

0 commit comments

Comments
 (0)