Skip to content

Commit

Permalink
Added RELEASING.md (#301)
Browse files Browse the repository at this point in the history
* 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.
12 changes: 12 additions & 0 deletions RELEASING.md
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`.

0 comments on commit fb2f7de

Please sign in to comment.