From 0d05a77f10c44998e4ef69d9de5c5e4fc77ff613 Mon Sep 17 00:00:00 2001 From: Haard Shah Date: Tue, 25 Jun 2024 10:42:26 -0400 Subject: [PATCH] Add draft release to github --- .github/workflows/release-azure-pipelines.yml | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/release-azure-pipelines.yml b/.github/workflows/release-azure-pipelines.yml index 7cd6201f..8a398cef 100644 --- a/.github/workflows/release-azure-pipelines.yml +++ b/.github/workflows/release-azure-pipelines.yml @@ -272,7 +272,7 @@ extends: - ${{ each config in parameters.buildConfigs }}: - output: pipelineArtifact artifactName: azureauth-${{ parameters.version }}-${{ config.runtime }}.${{ config.archiveExt }} - targetPath: $(Build.SourcesDirectory)/azureauth-${{ parameters.version }}-${{ config.runtime }}.${{ config.archiveExt }}/azureauth-${{ parameters.version }}-${{ config.runtime }}.${{ config.archiveExt }} + targetPath: $(Build.SourcesDirectory)/azureauth-${{ parameters.version }}-${{ config.runtime }}.${{ config.archiveExt }} steps: - task: ArchiveFiles@2 displayName: Create win10-x64 archive @@ -338,20 +338,20 @@ extends: targetType: 'inline' script: | Get-ChildItem -Path . -Recurse | Select-Object FullName -# - task: GitHubRelease@1 -# inputs: -# gitHubConnection: $(esrpKVServiceConnection) -# repositoryName: 'AzureAD/microsoft-authentication-cli' -# action: 'create' -# target: $(Build.SourceVersion) -# tagSource: 'userSpecifiedTag' -# tag: ${{ parameters.version }} -# isPrerelease: ${{ parameters.prerelease }} -# isDraft: true -# addChangeLog: false -# releaseNotesSource: 'inline' -# releaseNotesInline: "Release ${{ parameters.version }}. See [`CHANGELOG.md`](https://github.com/AzureAD/microsoft-authentication-cli/blob/${{ parameters.version }}/CHANGELOG.md) for updates." -# assets: | -# $(Build.ArtifactStagingDirectory)/azureauth-${{ parameters.version }}-win10-x64.zip -# $(Build.ArtifactStagingDirectory)/azureauth-${{ parameters.version }}-osx-x64.tar.gz -# $(Build.ArtifactStagingDirectory)/azureauth-${{ parameters.version }}-osx-arm64.tar.gz \ No newline at end of file + - task: GitHubRelease@1 + inputs: + gitHubConnection: $(esrpKVServiceConnection) + repositoryName: 'AzureAD/microsoft-authentication-cli' + action: 'create' + target: $(Build.SourceVersion) + tagSource: 'userSpecifiedTag' + tag: ${{ parameters.version }} + isPrerelease: ${{ parameters.prerelease }} + isDraft: true + addChangeLog: false + releaseNotesSource: 'inline' + releaseNotesInline: "Release ${{ parameters.version }}. See [`CHANGELOG.md`](https://github.com/AzureAD/microsoft-authentication-cli/blob/${{ parameters.version }}/CHANGELOG.md) for updates." + assets: | + $(Build.ArtifactStagingDirectory)/azureauth-${{ parameters.version }}-win10-x64.zip + $(Build.ArtifactStagingDirectory)/azureauth-${{ parameters.version }}-osx-x64.tar.gz + $(Build.ArtifactStagingDirectory)/azureauth-${{ parameters.version }}-osx-arm64.tar.gz \ No newline at end of file