File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 8
8
BRANCH : " master"
9
9
git-credential-helper : yes
10
10
secrets-manager :
11
- GH_TOKEN : Github/aws-crypto-tools-ci-bot:personal\ access\ token\ (new\ token\ format)
11
+ GH_TOKEN : Github/aws-crypto-tools-ci-bot:ESDK Release Token
12
12
13
13
phases :
14
14
pre_build :
15
15
commands :
16
16
# get new project version
17
17
- export VERSION=$(grep version pom.xml | head -n 1 | sed -n 's/[ \t]*<version>\(.*\)<\/version>/\1/p')
18
+ - git config --global user.name "aws-crypto-tools-ci-bot"
19
+ -
git config --global user.email "[email protected] "
20
+ - echo $GH_TOKEN > token.txt
21
+ - export GH_TOKEN=
18
22
# install gh cli in order to upload artifacts
19
23
- curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | gpg --dearmor -o /usr/share/keyrings/githubcli-archive-keyring.gpg
20
24
- echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null
@@ -24,7 +28,8 @@ phases:
24
28
build :
25
29
commands :
26
30
- gh version
27
- - gh auth login --with-token < $GH_TOKEN
31
+ - gh auth login --with-token < token.txt
32
+ - gh auth status
28
33
- |
29
34
mvn org.apache.maven.plugins:maven-dependency-plugin:3.1.2:get \
30
35
-DrepoUrl=https://aws.oss.sonatype.org \
You can’t perform that action at this time.
0 commit comments