Skip to content

Commit 85d8819

Browse files
Collect more diagnostics. (#2297)
1 parent df5abcf commit 85d8819

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ jobs:
133133
SEMANTIC_VERSION: ${{ inputs.semantic_version }}
134134
DRY_RUN: ${{ inputs.dry_run }}
135135
run: |
136+
set -x
137+
# For debugging purposes
138+
git status
136139
# The file was actually changed, we need to commit the changes
137140
git diff-index --quiet HEAD || { git -c 'user.name=AWS SDK Rust Bot' -c 'user.email=aws-sdk-rust-primary@amazon.com' commit gradle.properties --message "Upgrade the smithy-rs runtime crates version to ${SEMANTIC_VERSION}" && git push origin; }
138141

tools/ci-scripts/upgrade-gradle-properties

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,12 @@ ARTIFACTS_DIR="$(pwd)/artifacts/upgrade-gradle-properties"
1212
mkdir -p "${ARTIFACTS_DIR}"
1313

1414
pushd "${SMITHY_RS_DIR}"
15+
echo "gradle.properties BEFORE the upgrade"
16+
cat gradle.properties
1517
publisher upgrade-runtime-crates-version --version "${SEMANTIC_VERSION}"
18+
echo "gradle.properties AFTER the upgrade"
19+
cat gradle.properties
20+
git status
1621
popd
1722

1823
# Clone smithy-rs repo changes (changelog updates) into
@@ -21,4 +26,5 @@ pushd "${ARTIFACTS_DIR}"
2126
git clone "${SMITHY_RS_DIR}"
2227
# Copy over the original remotes so that it's possible to push to `origin`
2328
cp "${SMITHY_RS_DIR}/.git/config" smithy-rs/.git/config
29+
git status
2430
popd

0 commit comments

Comments
 (0)