File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 11name : Release
22
33on :
4- pull_request :
4+ pull_request : # TODO: REMOVE
55 workflow_dispatch :
66 inputs :
77 version-override :
88 type : string
99 required : false
1010 description : ' Optionally specify a custom release version (minor version bump e.g.)'
1111
12+ permissions :
13+ id-token : write
14+ contents : read
15+
1216jobs :
1317 release :
1418 runs-on : ubuntu-latest
5054 - name : Configure Gradle
5155 uses : awslabs/aws-kotlin-repo-tools/.github/actions/configure-gradle@main
5256
53- - name : Configure AWS Credentials
57+ - name : Configure AWS credentials
5458 uses : aws-actions/configure-aws-credentials@v4
5559 with :
5660 role-to-assume : ${{ secrets.PUBLISHING_ROLE_ARN }}
5963 - name : Run release
6064 env :
6165 RELEASE_BUCKET : ${{ secrets.RELEASE_BUCKET }}
62- PUBLISHING_ROLE_ARN : ${{ secrets.PUBLISHING_ROLE_ARN }}
66+ PUBLISHING_ROLE_ARN : ${{ secrets.PUBLISHING_ROLE_ARN }} # TODO: REMOVE
6367 run : |
6468 ./scripts/release.sh
6569
Original file line number Diff line number Diff line change 11#! /bin/bash
22
33[ -z " $RELEASE_BUCKET " ] && { echo " RELEASE_BUCKET environment variable not set" ; exit 1; }
4- [ -z " $PUBLISHING_ROLE_ARN " ] && { echo " PUBLISHING_ROLE_ARN environment variable not set" ; exit 1; }
4+ [ -z " $PUBLISHING_ROLE_ARN " ] && { echo " PUBLISHING_ROLE_ARN environment variable not set" ; exit 1; } # TODO: REMOVE
55
66VERSION=$( git describe --tags --abbrev=0)
77HEAD_COMMIT=$( git rev-parse HEAD)
You can’t perform that action at this time.
0 commit comments