Skip to content

Commit 132ecc2

Browse files
authored
fix(ci): fix changelog update (#1654)
1 parent 7fba0ec commit 132ecc2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ jobs:
112112
sed -i 's/#### Test/#### Testing/' CHANGELOG.md
113113
114114
# prepend changelog to docs/version_changes.md
115-
cat CHANGELOG.md | cat - docs/version_changes.md | tee docs/version_changes.md
115+
cat CHANGELOG.md docs/version_changes.md > version_changes.md
116+
sudo mv version_changes.md docs/version_changes.md
116117
117118
- name: Upload changelog
118119
uses: actions/upload-artifact@v3
@@ -122,6 +123,7 @@ jobs:
122123

123124
- name: Push release branch
124125
run: |
126+
rm CHANGELOG.md
125127
git config core.sharedRepository true
126128
git config user.name "github-actions[bot]"
127129
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"

0 commit comments

Comments
 (0)