|
|
|
@ -17,7 +17,7 @@ node("Windows") {
|
|
|
|
|
|
|
|
|
|
if (env.BRANCH_NAME == 'main') { |
|
|
|
|
stage('Set Version') { |
|
|
|
|
version = VersionNumber projectStartDate: '', versionNumberString: '1.0.${BUILDS_ALL_TIME}.0', versionPrefix: '', worstResultForIncrement: 'SUCCESS' |
|
|
|
|
version = VersionNumber projectStartDate: '2023-06-21', versionNumberString: '1.0.${BUILDS_ALL_TIME}.0', versionPrefix: '', worstResultForIncrement: 'SUCCESS' |
|
|
|
|
} |
|
|
|
|
stage('Publish') { |
|
|
|
|
bat "dotnet publish .\\StabilityMatrix\\StabilityMatrix.csproj -c Release -o out -r win-x64 -p:PublishSingleFile=true -p:Version=${version} --self-contained true" |
|
|
|
|