forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create a single SHA for patch releases (Azure#28551)
1. This script generates a single SHA for patch releases - with the changelog, readme and other sources in the releasable state 2. Creates a separate branch for the BOM releases - with the snapshot of the version_client.txt file. 3. Generates a report containing the name of the branches (one for BOM and other for artifacts) and the name of each artifact that needs to be patched. Fixes Azure#28535
- Loading branch information
Showing
3 changed files
with
400 additions
and
168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
trigger: none | ||
|
||
pr: none | ||
|
||
stages: | ||
- stage: AnalyzeAndGeneratePatches | ||
|
||
jobs: | ||
- job: PatchGeneration | ||
timeoutInMinutes: 180 | ||
|
||
pool: | ||
vmImage: 'windows-2019' | ||
|
||
steps: | ||
- pwsh: | | ||
$(Build.SourcesDirectory)/eng/scripts/patchreleases.ps1 | ||
Copy-Item eng/scripts/patchreport.html $(Build.ArtifactStagingDirectory)/staging | ||
Copy-Item eng/scripts/bompom.html $(Build.ArtifactStagingDirectory)/staging | ||
displayName: 'Analyze and generate patches' | ||
- publish: $(Build.ArtifactStagingDirectory) | ||
displayName: 'Publish Report Artifacts' | ||
artifact: patchreport |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.