Skip to content

Commit b9b80c3

Browse files
Retrieve the output from outside the Docker context (#2300)
Co-authored-by: AWS SDK Rust Bot <97246200+aws-sdk-rust-ci@users.noreply.github.com>
1 parent 3ee5d06 commit b9b80c3

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,9 +225,14 @@ jobs:
225225
uses: ./smithy-rs/.github/actions/docker-build
226226
with:
227227
action: generate-new-changelog-next-toml
228+
- name: Download all artifacts
229+
uses: ./smithy-rs/.github/actions/download-all-artifacts
228230
- name: Push smithy-rs changes
231+
working-directory: generate-new-changelog-next-toml/smithy-rs
229232
shell: bash
230233
run: |
234+
set -eux
235+
231236
# This will fail if other commits have been pushed to `main` after `commit_sha`
232237
# In particular, this will ALWAYS fail if you are creating a new release series from
233238
# a commit that is not the current tip of `main`.

tools/ci-scripts/generate-new-changelog-next-toml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,12 @@
66

77
set -eux
88

9-
changelogger init > smithy-rs/CHANGELOG.next.toml
9+
SMITHY_RS_DIR="$(pwd)/smithy-rs"
10+
ARTIFACTS_DIR="$(pwd)/artifacts/generate-new-changelog-next-toml"
11+
12+
changelogger init > "${SMITHY_RS_DIR}/CHANGELOG.next.toml"
13+
14+
pushd "${ARTIFACTS_DIR}"
15+
cp -r "${SMITHY_RS_DIR}" .
16+
git -C smithy-rs status
17+
popd

0 commit comments

Comments
 (0)