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

Retrieve the output from outside the Docker context (#2300)

parent 3ee5d069
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -225,9 +225,14 @@ jobs:
      uses: ./smithy-rs/.github/actions/docker-build
      with:
        action: generate-new-changelog-next-toml
    - name: Download all artifacts
      uses: ./smithy-rs/.github/actions/download-all-artifacts
    - name: Push smithy-rs changes
      working-directory: generate-new-changelog-next-toml/smithy-rs
      shell: bash
      run: |
        set -eux
        
        # This will fail if other commits have been pushed to `main` after `commit_sha`
        # In particular, this will ALWAYS fail if you are creating a new release series from
        # a commit that is not the current tip of `main`.
+9 −1
Original line number Diff line number Diff line
@@ -6,4 +6,12 @@

set -eux

changelogger init > smithy-rs/CHANGELOG.next.toml
SMITHY_RS_DIR="$(pwd)/smithy-rs"
ARTIFACTS_DIR="$(pwd)/artifacts/generate-new-changelog-next-toml"

changelogger init > "${SMITHY_RS_DIR}/CHANGELOG.next.toml"

pushd "${ARTIFACTS_DIR}"
cp -r "${SMITHY_RS_DIR}" .
git -C smithy-rs status
popd