Skip to content

Commit

Permalink
Move version commit hash override to shell script
Browse files Browse the repository at this point in the history
  • Loading branch information
unexge committed Aug 16, 2022
1 parent 1b66e89 commit 14a40cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/pull-request-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ jobs:
env:
AWS_REGION: us-west-2
S3_BUCKET_NAME: ${{ secrets.SMITHY_RS_PULL_REQUEST_CDN_S3_BUCKET_NAME }}
# Override version commit hash to prevent unnecessary diffs
SMITHY_RS_VERSION_COMMIT_HASH_OVERRIDE: ci
permissions:
id-token: write
contents: read
Expand Down
2 changes: 2 additions & 0 deletions tools/ci-build/scripts/generate-codegen-diff
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ if [[ $# -ne 1 ]]; then
exit 1
fi

# Override version commit hash to prevent unnecessary diffs
export SMITHY_RS_VERSION_COMMIT_HASH_OVERRIDE=ci
base_revision="$1"
./tools/codegen-diff-revisions.py . "${base_revision}"

Expand Down

0 comments on commit 14a40cb

Please sign in to comment.