{ "$schema": "https://json-schema.org/draft-07/schema", "title": "Release Package Script Settings", "description": "Invoke-ReleasePackage.ps1 plugin settings. Place ReleasePublishGuard before GitHub/DotNetNuGet/DockerImagePush/HelmPush/NpmPublish; use its branches and tag rules. Publish plugins omit per-plugin branches. Semver comes from DotNetReleaseVersion (projectFiles).", "plugins": [ { "name": "DotNetReleaseVersion", "stageLabel": "build", "enabled": true, "projectFiles": [ "..\\..\\..\\src\\MaksIT.Results\\MaksIT.Results.csproj" ] }, { "name": "DotNetTest", "stageLabel": "test", "enabled": true, "project": "..\\..\\..\\src\\MaksIT.Results.Tests", "resultsDir": "..\\..\\..\\testResults" }, { "name": "QualityGate", "stageLabel": "qualityGate", "enabled": true, "coverageThreshold": 0, "failOnVulnerabilities": true, "projectFiles": [ "..\\..\\..\\src\\MaksIT.Results\\MaksIT.Results.csproj" ] }, { "name": "DotNetPack", "stageLabel": "build", "enabled": true, "projectFiles": [ "..\\..\\..\\src\\MaksIT.Results\\MaksIT.Results.csproj" ], "artifactsDir": "..\\..\\..\\releases" }, { "name": "DotNetCreateArchive", "stageLabel": "build", "enabled": true, "zipNamePattern": "maksit.results-{version}.zip" }, { "name": "ReleasePublishGuard", "stageLabel": "release", "enabled": true, "branches": [ "main" ], "requireExactTagOnHead": true, "tagVersionMustMatchDotNetRelease": true, "whenRequirementsNotMet": "skip", "requireCleanWorkingTree": false, "ensureTagOnRemote": true, "remoteName": "origin" }, { "name": "GitHub", "stageLabel": "release", "enabled": true, "githubSecret": "GitHub", "repository": "https://github.com/MAKS-IT-COM/maksit-results", "releaseNotesFile": "..\\..\\..\\CHANGELOG.md", "releaseTitlePattern": "Release {version}" }, { "name": "DotNetNuGet", "stageLabel": "release", "enabled": true, "nugetSecret": "NuGet", "source": "https://api.nuget.org/v3/index.json" }, { "name": "NpmReleaseVersion", "stageLabel": "build", "enabled": false, "packageJsonPath": "..\\..\\..\\src\\package.json", "syncWorkspaceVersions": true }, { "name": "NpmBuild", "stageLabel": "build", "enabled": false, "workspaceRoot": "..\\..\\..\\src", "useCi": true, "buildScript": "build" }, { "name": "NpmPublish", "stageLabel": "release", "enabled": false, "npmSecret": "Npm", "registry": "https://registry.npmjs.org", "access": "public", "workspaceRoot": "..\\..\\..\\src", "publishOrder": [ "@scope/example-contracts", "@scope/example-core" ] }, { "name": "DotNetCleanupArtifacts", "stageLabel": "release", "enabled": true, "includePatterns": [ "*" ], "excludePatterns": [ "*.zip" ] } ] }