Skip to content

Commit

Permalink
ci: setup release please
Browse files Browse the repository at this point in the history
  • Loading branch information
andrueastman committed Jan 7, 2025
1 parent e88a174 commit 690e9e8
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .azure-pipelines/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -278,13 +278,11 @@ extends:
inputs:
gitHubConnection: 'Kiota_Release'
target: $(Build.SourceVersion)
tagSource: userSpecifiedTag
repositoryName: '$(Build.Repository.Name)'
action: edit
tag: 'v$(VERSION_STRING)'
title: '$(VERSION_STRING)'
releaseNotesSource: inline
addChangeLog: false
assetUploadMode: replace
assets: |
!**/**
$(Pipeline.Workspace)/Microsoft.Kiota.*.*nupkg
changeLogType: issueBased
isPreRelease : '$(IS_PRE_RELEASE)'
addChangeLog : true
3 changes: 3 additions & 0 deletions .github/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
manifest: true
primaryBranch: main
handleGHRelease: true
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "1.16.2"
}
31 changes: 31 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"bootstrap-sha": "e88a174d88534242c73861151f301282d4472edf",
"exclude-paths": [
".azure-pipelines",
".github",
".idea",
".vs",
".vscode"
],
"release-type": "simple",
"bump-minor-pre-major": true,
"bump-patch-for-minor-pre-major": true,
"include-component-in-tag": false,
"include-v-in-tag": true,
"draft": false,
"prerelease": false,
"packages": {
".": {
"package-name": "kiota-dotnet",
"changelog-path": "CHANGELOG.md",
"extra-files": [
{
"type": "xml",
"path": "Directory.Build.props",
"xpath": "//Project/PropertyGroup/VersionPrefix"
}
]
}
},
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
}

0 comments on commit 690e9e8

Please sign in to comment.