-
Notifications
You must be signed in to change notification settings - Fork 890
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ci): add email and name for git user in workflows (#5082)
- Loading branch information
Di Wu
authored
Nov 17, 2023
1 parent
d45ef7e
commit c81f187
Showing
2 changed files
with
8 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,6 +50,8 @@ jobs: | |
pip3 install lxml | ||
git checkout -b bump-version/$RELEASE_VERSION main | ||
python3 ./CircleciScripts/bump_sdk_version.py "$(pwd)" "$RELEASE_VERSION" | ||
git config user.name aws-amplify-ops | ||
git config user.email [email protected] | ||
git add -A | ||
git commit -am "[bump version $RELEASE_VERSION]" | ||
git push origin HEAD | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -166,6 +166,8 @@ jobs: | |
|
||
- name: Post release xcframeworks | ||
run: | | ||
git config user.name aws-amplify-ops | ||
git config user.email [email protected] | ||
PAT=$(aws secretsmanager get-secret-value \ | ||
--secret-id "${{ secrets.SPM_DEPLOY_SECRET_ARN }}" \ | ||
| jq ".SecretString | fromjson | .Credential" | tr -d '"') | ||
|
@@ -314,6 +316,8 @@ jobs: | |
|
||
- name: Make version bump commit | ||
run: | | ||
git config user.name aws-amplify-ops | ||
git config user.email [email protected] | ||
git add version | ||
git commit -m "bump version ${RELEASE_VERSION}" | ||
git push origin HEAD:bump_sdk_version | ||
|
@@ -357,6 +361,8 @@ jobs: | |
- name: Checkin documents | ||
working-directory: ${{ github.workspace }}/gh-pages | ||
run: | | ||
git config user.name aws-amplify-ops | ||
git config user.email [email protected] | ||
for dirPath in docs/reference/* ; do | ||
sdkName=$( basename "$dirPath" ) | ||
git add "$dirPath" && git commit -m "Update API documentation for ${sdkName} ${RELEASE_VERSION}" | ||
|