Skip to content

Commit

Permalink
Merge pull request #228 from greg0ire/update-branch-metadata
Browse files Browse the repository at this point in the history
Prepare for 8.2.0
  • Loading branch information
greg0ire committed Oct 25, 2020
2 parents 2a0c334 + 71ec88d commit 529d385
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 9 deletions.
24 changes: 21 additions & 3 deletions .doctrine-project.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
45 changes: 45 additions & 0 deletions .github/workflows/release-on-milestone-closed.yml
Original file line number Diff line number Diff line change
@@ -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 }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
5 changes: 0 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,5 @@
},
"config": {
"sort-packages": true
},
"extra": {
"branch-alias": {
"dev-master": "7.0.x-dev"
}
}
}

0 comments on commit 529d385

Please sign in to comment.