Required environment variables:
DEVOPS_USER
username from Azure DevOpsDEVOPS_PAT
personal access token from Azure DevOps (permission for Build and Release)GITHUB_PAT
personal access token from GitHub (used forLiteRelease
)BUILD_ID
the build ID (used forPremiumRelease
)
- Start the build and wait till Signing complete
- Note the
buildId
and set it toBUILD_ID
- Run
PremiumRelease.main()
- Edit
configure.yml
in project root (similar to/src/main/resources/configure.yml
) - Run with
mvn exec:java
(equivalent toLiteRelease.main()
) - Follow the prompt, choose the tag to release
https://github.com/MicrosoftDocs/vsts-rest-api-specs
This is the AutoRest configuration file for Dev.
title: DevClient
namespace: com.azure.dev
license-header: MICROSOFT_MIT_SMALL
input-file:
- build.json
- pipelines.json
output-folder: .
regenerate-pom: false
java: true
fluent: LITE
generate-samples: false
pipeline:
modelerfour:
additional-checks: true