Unverified Commit 47f6bd86 authored by Luca Palmieri's avatar Luca Palmieri Committed by GitHub
Browse files

Clone does not preserve uncommitted changes. This was leading to the...

Clone does not preserve uncommitted changes. This was leading to the gradle.properties update being lost. (#2299)
parent e1991fa7
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -20,11 +20,8 @@ cat gradle.properties
git status
popd

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