Skip to content

Commit 47f6bd8

Browse files
Clone does not preserve uncommitted changes. This was leading to the gradle.properties update being lost. (#2299)
1 parent e1991fa commit 47f6bd8

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

tools/ci-scripts/upgrade-gradle-properties

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,8 @@ cat gradle.properties
2020
git status
2121
popd
2222

23-
# Clone smithy-rs repo changes (changelog updates) into
24-
# the `smithy-rs-release` artifact for push to GitHub
2523
pushd "${ARTIFACTS_DIR}"
26-
git clone "${SMITHY_RS_DIR}"
27-
# Copy over the original remotes so that it's possible to push to `origin`
28-
cp "${SMITHY_RS_DIR}/.git/config" smithy-rs/.git/config
24+
mkdir -p smithy-rs
25+
cp -r "${SMITHY_RS_DIR}" .
2926
git -C smithy-rs status
3027
popd

0 commit comments

Comments
 (0)