Skip to content

Commit f632b88

Browse files
committed
Use environment variables for github creds
Update CI to use the environment variables directly for GitHub access.
1 parent d85fd49 commit f632b88

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

ci/pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
file: git-repo/ci/tasks/release.yml
7171
params:
7272
GITHUB_USERNAME: ((github-username))
73-
GITHUB_TOKEN: ((github-ci-release-token))
73+
GITHUB_PASSWORD: ((github-ci-release-token))
7474
- put: git-repo
7575
params:
7676
repository: release-git-repo

ci/scripts/release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ popd > /dev/null
3131
echo $releaseVersion > built-artifact/version
3232
echo v$releaseVersion > built-artifact/tag
3333
cp release-git-repo/target/github-changelog-generator.jar built-artifact/
34-
java -jar release-git-repo/target/github-changelog-generator.jar --github.username=${GITHUB_USERNAME} --github.password=${GITHUB_TOKEN} --changelog.repository=spring-io/github-changelog-generator $releaseVersion built-artifact/release-notes.md
34+
java -jar release-git-repo/target/github-changelog-generator.jar --changelog.repository=spring-io/github-changelog-generator $releaseVersion built-artifact/release-notes.md

ci/tasks/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ outputs:
77
- name: built-artifact
88
params:
99
GITHUB_USERNAME:
10-
GITHUB_TOKEN:
10+
GITHUB_PASSWORD:
1111
caches:
1212
- path: maven
1313
run:

0 commit comments

Comments
 (0)