-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added releaseing doc * Update RELEASING.md
- Loading branch information
Tom Augspurger
authored
Jun 13, 2024
1 parent
d6f975e
commit fb2f7de
Showing
1 changed file
with
12 additions
and
0 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,12 @@ | ||
# Relesing | ||
|
||
Releases are made through the [GitHub UI](https://github.com/microsoft/planetary-computer-tasks/releases/new). | ||
Create a new tag for your release, using the format `<year>.<month>.<count>`. | ||
|
||
You also need to update the `pc-test-gha-tags-release` Federated Identity Credential on the `PC Test GitHub Actions Deployment` App Regestration to match the new tag. | ||
|
||
```azurecli | ||
az ad app federated-credential update --federated-credential-id "pc-test-gha-tags-release" --id "$CLIENT_ID" --parameters '{"issuer": "https://token.actions.githubusercontent.com", "subject": "repo:microsoft/planetary-computer-tasks:ref:refs/tags/$TAG", "description": "Federated credential for Github Actions to deploy to Azure from microsoft/planetary-computer-tasks with any tag", "audiences": ["api://AzureADTokenExchange"]}' | ||
``` | ||
|
||
where `$TAG` is something like `2024.6.1`. |