diff options
author | Harsh Shandilya <msfjarvis@gmail.com> | 2020-06-28 21:32:27 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-28 21:32:27 +0530 |
commit | 23f7594db4b5d341637b9dc3e726fab67788c451 (patch) | |
tree | 3a9b40195e65779e67dfaa95078fa0dcb1ca45f3 /.github/workflows/draft_new_release.yml | |
parent | 9d76eec76eaef6f59c65e081f880d8128e644921 (diff) |
Backport Actions fixes (#894)
Diffstat (limited to '.github/workflows/draft_new_release.yml')
-rw-r--r-- | .github/workflows/draft_new_release.yml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/.github/workflows/draft_new_release.yml b/.github/workflows/draft_new_release.yml index f83afe61..0e91926b 100644 --- a/.github/workflows/draft_new_release.yml +++ b/.github/workflows/draft_new_release.yml @@ -10,13 +10,15 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + with: + ref: 'release' - name: Extract version from milestone run: | VERSION="${{ github.event.milestone.title }}" echo "::set-env name=RELEASE_VERSION::$VERSION" - name: Create release branch - run: git checkout -b release/${{ env.RELEASE_VERSION }} + run: git checkout -b release-${{ env.RELEASE_VERSION }} - name: Update changelog uses: thomaseizinger/keep-a-changelog-new-release@1.1.0 @@ -34,12 +36,12 @@ jobs: git commit --message "Prepare release ${{ env.RELEASE_VERSION }}" - name: Push new branch - run: git push origin release/${{ env.RELEASE_VERSION }} + run: git push origin release-${{ env.RELEASE_VERSION }} - name: Create pull request uses: thomaseizinger/create-pull-request@1.0.0 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - head: release/${{ env.RELEASE_VERSION }} - base: master + head: release-${{ env.RELEASE_VERSION }} + base: release title: Release ${{ env.RELEASE_VERSION }} |