Do not commit and push changelog during release (#2977)

This is done prior to the release
This commit is contained in:
Muhammad Hamza 2022-11-25 15:45:50 +05:00 committed by GitHub
parent f0209c786f
commit 80ce114663
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,22 +42,6 @@ jobs:
crate: cargo-release
version: 0.18.5
- name: Build changelog generator
run: cargo build --release -p changelog
working-directory: tools
- name: Generate changelog
uses: mathiasvr/command-output@v1
id: changelog
with:
run: ./target/release/changelog yew ${{ github.event.inputs.level }} -t ${{ secrets.GITHUB_TOKEN }}
- name: Commit changelog
run: |
git add CHANGELOG.md
git commit -m "update CHANGELOG.md for yew release"
git push origin master
- name: Release yew-macro
run: cargo release ${PUBLISH_LEVEL} --token ${CRATES_TOKEN} --execute --no-confirm --package yew-macro
env: