diff --git a/.github/workflows/deploy_and_release.yml b/.github/workflows/deploy_and_release.yml index a3b8731db..83979b5e0 100644 --- a/.github/workflows/deploy_and_release.yml +++ b/.github/workflows/deploy_and_release.yml @@ -31,6 +31,21 @@ jobs: OSSRH_USERNAME: ${{ secrets.SONATYPE_USER }} OSSRH_PASSWORD: ${{ secrets.SONATYPE_PW }} + synchronize: + runs-on: ubuntu-latest + needs: deployment + steps: + - name: Checkout source code + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Synchronize master and develop + run: | + gh pr create -B develop -H master -t "Synchronize version in master and develop" -b "Update the version in `develop` from `master`" + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + release: runs-on: ubuntu-latest needs: deployment