diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 47a24ed351ec..3108d2c200ab 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -52,7 +52,7 @@ jobs: dart pub get -C tools dart run tools/set_version.dart --build-number keep ${{ env.BUTTERFLY_VERSION }} --changelog git add . - git commit -m "Add changelog of v${{ github.event.inputs.next_version }}" + git commit -m "Add changelog of v${{ env.BUTTERFLY_VERSION }}" git push origin ${{ matrix.branch }} release: runs-on: ubuntu-22.04 @@ -90,24 +90,6 @@ jobs: BUTTERFLY_VERSION="${{ env.BUTTERFLY_VERSION }}" git tag -fa v${{ env.BUTTERFLY_VERSION }} -m "Release ${BUTTERFLY_VERSION}" git push origin v${BUTTERFLY_VERSION} -f - - name: Update changelog (main) - run: | - git fetch - git pull origin main - dart pub get -C tools - dart run tools/set_version.dart --build-number keep ${{ env.BUTTERFLY_VERSION }} --changelog - git add . - git commit -m "Add changelog of v${{ github.event.inputs.next_version }}" - git push origin main - - name: Update changelog (develop) - run: | - git fetch - git pull origin develop - dart pub get -C tools - dart run tools/set_version.dart --build-number keep ${{ env.BUTTERFLY_VERSION }} --changelog - git add . - git commit -m "Add changelog of v${{ github.event.inputs.next_version }}" - git push origin develop - uses: actions/checkout@v3 with: token: ${{ secrets.CI_PAT }}