|
9 | 9 |
|
10 | 10 | jobs:
|
11 | 11 | release:
|
12 |
| - name: "GIT tag, release & create merge-up PR" |
| 12 | + name: "Release" |
13 | 13 | runs-on: ubuntu-latest
|
14 | 14 |
|
15 | 15 | steps:
|
|
27 | 27 | "GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }}
|
28 | 28 | "GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }}
|
29 | 29 |
|
| 30 | + merge-up: |
| 31 | + name: "Create Merge-Up Pull Request" |
| 32 | + runs-on: ubuntu-latest |
| 33 | + if: ${{ always() }} |
| 34 | + needs: "release" |
| 35 | + |
| 36 | + steps: |
| 37 | + - name: "Checkout" |
| 38 | + uses: "actions/checkout@v3" |
| 39 | + |
30 | 40 | - name: "Create Merge-Up Pull Request"
|
31 | 41 | uses: "laminas/automatic-releases@1.24.0"
|
32 | 42 | with:
|
|
38 | 48 | "GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }}
|
39 | 49 | "GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }}
|
40 | 50 |
|
| 51 | + switch: |
| 52 | + name: "Create and/or Switch to new Release Branch" |
| 53 | + runs-on: ubuntu-latest |
| 54 | + if: ${{ always() }} |
| 55 | + needs: "merge-up" |
| 56 | + |
| 57 | + steps: |
| 58 | + - name: "Checkout" |
| 59 | + uses: "actions/checkout@v3" |
| 60 | + |
41 | 61 | - name: "Create and/or Switch to new Release Branch"
|
42 | 62 | uses: "laminas/automatic-releases@1.24.0"
|
43 | 63 | with:
|
|
49 | 69 | "GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }}
|
50 | 70 | "GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }}
|
51 | 71 |
|
| 72 | + bump: |
| 73 | + name: "Bump Changelog Version On Originating Release Branch" |
| 74 | + runs-on: ubuntu-latest |
| 75 | + if: ${{ always() }} |
| 76 | + needs: "switch" |
| 77 | + |
| 78 | + steps: |
| 79 | + - name: "Checkout" |
| 80 | + uses: "actions/checkout@v3" |
| 81 | + |
52 | 82 | - name: "Bump Changelog Version On Originating Release Branch"
|
53 | 83 | uses: "laminas/automatic-releases@1.24.0"
|
54 | 84 | with:
|
|
60 | 90 | "GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }}
|
61 | 91 | "GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }}
|
62 | 92 |
|
| 93 | + milestones: |
| 94 | + name: "Create new milestones" |
| 95 | + runs-on: ubuntu-latest |
| 96 | + if: ${{ always() }} |
| 97 | + needs: "bump" |
| 98 | + |
| 99 | + steps: |
| 100 | + - name: "Checkout" |
| 101 | + uses: "actions/checkout@v3" |
| 102 | + |
63 | 103 | - name: "Create new milestones"
|
64 | 104 | uses: "laminas/automatic-releases@1.24.0"
|
65 | 105 | with:
|
|
0 commit comments