diff --git a/.doctrine-project.json b/.doctrine-project.json index e5b6dd3c..78bd79f2 100644 --- a/.doctrine-project.json +++ b/.doctrine-project.json @@ -5,15 +5,33 @@ "docsSlug": "doctrine-coding-standard", "versions": [ { - "name": "8.1", - "branchName": "8.1.x", - "slug": "8.1", + "name": "9.0", + "branchName": "9.0.x", + "slug": "9.0", + "upcoming": true + }, + { + "name": "8.3", + "branchName": "8.3.x", + "slug": "8.3", + "upcoming": true + }, + { + "name": "8.2", + "branchName": "8.2.x", + "slug": "8.2", "current": true, "aliases": [ "current", "stable" ] }, + { + "name": "8.1", + "branchName": "8.1.x", + "slug": "8.1", + "maintained": false + }, { "name": "8.0", "branchName": "8.0.x", diff --git a/.github/workflows/release-on-milestone-closed.yml b/.github/workflows/release-on-milestone-closed.yml new file mode 100644 index 00000000..b7a56f71 --- /dev/null +++ b/.github/workflows/release-on-milestone-closed.yml @@ -0,0 +1,45 @@ +name: "Automatic Releases" + +on: + milestone: + types: + - "closed" + +jobs: + release: + name: "Git tag, release & create merge-up PR" + runs-on: "ubuntu-20.04" + + steps: + - name: "Checkout" + uses: "actions/checkout@v2" + + - name: "Release" + uses: "laminas/automatic-releases@v1" + with: + command-name: "laminas:automatic-releases:release" + env: + "GITHUB_TOKEN": ${{ secrets.GITHUB_TOKEN }} + "SIGNING_SECRET_KEY": ${{ secrets.SIGNING_SECRET_KEY }} + "GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }} + "GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }} + + - name: "Create Merge-Up Pull Request" + uses: "laminas/automatic-releases@v1" + with: + command-name: "laminas:automatic-releases:create-merge-up-pull-request" + env: + "GITHUB_TOKEN": ${{ secrets.GITHUB_TOKEN }} + "SIGNING_SECRET_KEY": ${{ secrets.SIGNING_SECRET_KEY }} + "GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }} + "GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }} + + - name: "Create new milestones" + uses: "laminas/automatic-releases@v1" + with: + command-name: "laminas:automatic-releases:create-milestones" + env: + "GITHUB_TOKEN": ${{ secrets.GITHUB_TOKEN }} + "SIGNING_SECRET_KEY": ${{ secrets.SIGNING_SECRET_KEY }} + "GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }} + "GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }} diff --git a/README.md b/README.md index 73bd41ab..c5451fba 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Doctrine Coding Standard [![Build Status](https://github.com/doctrine/coding-standard/workflows/Continuous%20Integration/badge.svg)](https://github.com/doctrine/coding-standard/actions?query=workflow%3A%22Continuous+Integration%22+) -[![Continuous Integration](https://github.com/doctrine/coding-standard/workflows/Continuous%20Integration/badge.svg?branch=master)](https://github.com/doctrine/coding-standard/actions) +[![Continuous Integration](https://github.com/doctrine/coding-standard/workflows/Continuous%20Integration/badge.svg?branch=8.2.x)](https://github.com/doctrine/coding-standard/actions) [![Total Downloads](https://img.shields.io/packagist/dt/doctrine/coding-standard.svg?style=flat-square)](https://packagist.org/packages/doctrine/coding-standard) [![Latest Stable Version](https://img.shields.io/packagist/v/doctrine/coding-standard.svg?style=flat-square)](https://packagist.org/packages/doctrine/coding-standard) diff --git a/composer.json b/composer.json index 155230c1..ddb6652b 100644 --- a/composer.json +++ b/composer.json @@ -28,10 +28,5 @@ }, "config": { "sort-packages": true - }, - "extra": { - "branch-alias": { - "dev-master": "7.0.x-dev" - } } }