This repository was archived by the owner on Aug 29, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +61
-19
lines changed
Expand file tree Collapse file tree 5 files changed +61
-19
lines changed Original file line number Diff line number Diff line change @@ -668,24 +668,19 @@ stages:
668668 - task : DownloadPipelineArtifact@2
669669 inputs :
670670 path : $(artifactsDownloadLocation)
671- - pwsh : |
672- $isPreview = '$(branchOrTagName)'.Contains("preview")
673- Write-Host "##vso[task.setvariable variable=IS_PREVIEW]$isPreview"
674671 - task : GithubRelease@1
675- displayName : ' Create GitHub Draft Release'
672+ displayName : ' Upload Artifacts to GitHub Release'
676673 inputs :
677674 gitHubConnection : $(repositoryConnection)
678675 repositoryName : ' $(Build.Repository.Name)'
679- action : create
680- tagSource : ' gitTag'
681- isDraft : true
682- addChangeLog : true
683- changeLogCompareToRelease : lastNonDraftRelease
676+ action : edit
677+ tag : $(branchOrTagName)
678+ addChangeLog : false
679+ assetUploadMode : replace
684680 assets : |
685681 $(artifactsDownloadLocation)/build-output-linux-*/*.tar*
686682 $(artifactsDownloadLocation)/sign-output-*/*.tar*
687683 $(artifactsDownloadLocation)/sign-output-*/*.zip
688- isPreRelease : $(IS_PREVIEW)
689684
690685 - deployment : deployNuget
691686 displayName : Deploy Nuget
Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ branches :
4+ - main
5+
6+ permissions :
7+ contents : write
8+ pull-requests : write
9+
10+ name : release-please
11+
12+ jobs :
13+ release-please :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : google-github-actions/release-please-action@v4
17+ with :
18+ token : ${{ secrets.RELEASE_PLEASE_TOKEN }}
19+ config-file : release-please-config.json
20+ manifest-file : .release-please-manifest.json
21+ target-branch : main
Original file line number Diff line number Diff line change 1+ {
2+ "." : " 1.2.0"
3+ }
Original file line number Diff line number Diff line change 22
33All notable changes to this project will be documented in this file.
44
5- The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
6- and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
7-
8- ## [ Unreleased]
9-
10- ### Added
11-
12- ### Changed
13-
145## [ 1.2.0] - 2024-01-22
156
167### Added
Original file line number Diff line number Diff line change 1+ {
2+ "bootstrap-sha" : " c4f91f1e8107dc09feb611174308ea6f5618874b" ,
3+ "exclude-paths" : [
4+ " .azure-pipelines" ,
5+ " .devcontainer" ,
6+ " .idea" ,
7+ " .github" ,
8+ " .vs" ,
9+ " .vscode"
10+ ],
11+ "release-type" : " simple" ,
12+ "bump-minor-pre-major" : true ,
13+ "bump-patch-for-minor-pre-major" : true ,
14+ "include-component-in-tag" : false ,
15+ "include-v-in-tag" : true ,
16+ "draft" : false ,
17+ "prerelease" : false ,
18+ "packages" : {
19+ "." : {
20+ "package-name" : " msgraph-cli" ,
21+ "changelog-path" : " CHANGELOG.md" ,
22+ "extra-files" : [
23+ {
24+ "type" : " xml" ,
25+ "path" : " src/msgraph-cli.csproj" ,
26+ "xpath" : " //Project/PropertyGroup/Version"
27+ }
28+ ]
29+ }
30+ },
31+ "$schema" : " https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
32+ }
You can’t perform that action at this time.
0 commit comments