Skip to content

Commit

Permalink
Add draft release to github
Browse files Browse the repository at this point in the history
  • Loading branch information
Haard30 committed Jun 25, 2024
1 parent 7afbaf3 commit 0d05a77
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/release-azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
- 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

0 comments on commit 0d05a77

Please sign in to comment.