From 7d11a33642c7bc40022c7f0fb7caa60362091357 Mon Sep 17 00:00:00 2001 From: Oliver Drotbohm Date: Tue, 2 Apr 2019 12:41:53 +0200 Subject: [PATCH] #114 - Documented required permissions for Sagan GitHub token. --- release-tools/application-local.template | 6 +++++- release-tools/readme.md | 4 +++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/release-tools/application-local.template b/release-tools/application-local.template index 13c1367..c1022f3 100644 --- a/release-tools/application-local.template +++ b/release-tools/application-local.template @@ -21,4 +21,8 @@ jira.url=https://jira.spring.io # GPG deployment.gpg.keyname= deployment.gpg.password= -# deployment.gpg.executable=/usr/local/bin/gpg2 \ No newline at end of file +# deployment.gpg.executable=/usr/local/bin/gpg2 + +# A GitHub token with user:email, read:user and read:org scopes. +# User needs to be part of the Spring team on GitHub as well. +sagan.key= diff --git a/release-tools/readme.md b/release-tools/readme.md index 1b6bc5b..0474be1 100644 --- a/release-tools/readme.md +++ b/release-tools/readme.md @@ -15,6 +15,8 @@ - `deployment.api-key` - The API key to use for artifact promotion. - `deployment.password` - The password of the deployment user (buildmaster). +See `application-local.template` for details. + 3. Run `mvn package appassembler:assemble && sh target/appassembler/bin/spring-data-release-shell` 4. Pre-release checks @@ -52,6 +54,6 @@ $ tracker create releasetickets $trainIteration.next $ tracker archive $trainIteration.previous ``` -* Update versions in Sagan with `$ sagan update $releasetrains`. +* Update versions in Sagan with `$ sagan update $releasetrains`. * Announce release (Blog, Twitter) and notify downstream dependency projects as needed. Dev-tools can assist you with `$ announcement $trainIteration`. Make sure to remove the changelog link to Envers as this module has no changelog.