From 132ecc25b9622c7870027a4bc2704da472eb5a46 Mon Sep 17 00:00:00 2001 From: w-bonelli Date: Thu, 15 Dec 2022 07:45:55 -0500 Subject: [PATCH] fix(ci): fix changelog update (#1654) --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dc020a1aa2..aebdd10418 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -112,7 +112,8 @@ jobs: sed -i 's/#### Test/#### Testing/' CHANGELOG.md # prepend changelog to docs/version_changes.md - cat CHANGELOG.md | cat - docs/version_changes.md | tee docs/version_changes.md + cat CHANGELOG.md docs/version_changes.md > version_changes.md + sudo mv version_changes.md docs/version_changes.md - name: Upload changelog uses: actions/upload-artifact@v3 @@ -122,6 +123,7 @@ jobs: - name: Push release branch run: | + rm CHANGELOG.md git config core.sharedRepository true git config user.name "github-actions[bot]" git config user.email "41898282+github-actions[bot]@users.noreply.github.com"