|
20 | 20 | name: Check |
21 | 21 | uses: ./.github/workflows/check.yml |
22 | 22 |
|
23 | | - integration-test: |
24 | | - name: Test |
| 23 | + release: |
| 24 | + name: Release |
25 | 25 | needs: shellcheck |
26 | 26 | runs-on: ubuntu-latest |
27 | 27 | permissions: |
@@ -53,36 +53,28 @@ jobs: |
53 | 53 | name: Create a release |
54 | 54 | uses: action-pack/github-release@master |
55 | 55 | env: |
56 | | - GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} |
| 56 | + GITHUB_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }} |
57 | 57 | with: |
58 | 58 | tag: "v${{ vars.MAJOR }}.${{ vars.MINOR }}" |
59 | 59 | title: "v${{ vars.MAJOR }}.${{ vars.MINOR }}" |
60 | 60 | body: | |
61 | 61 | ${{ steps.changelog.outputs.changes }} |
62 | 62 |
|
63 | 63 | **Full Changelog**: https://github.com/${{ github.repository }}/compare//${{ env.previousTag }}...v${{ vars.MAJOR }}.${{ vars.MINOR }} |
| 64 | + - |
| 65 | + name: Update major release |
| 66 | + uses: action-pack/github-release@master |
| 67 | + env: |
| 68 | + GITHUB_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }} |
| 69 | + with: |
| 70 | + tag: "v${{ vars.MAJOR }}" |
| 71 | + title: "v${{ vars.MAJOR }}" |
| 72 | + body: | |
| 73 | + ${{ steps.changelog.outputs.changes }} |
64 | 74 |
|
65 | | - release: |
66 | | - name: Release |
67 | | - runs-on: ubuntu-latest |
68 | | - needs: integration-test |
69 | | - permissions: |
70 | | - contents: write |
71 | | - steps: |
72 | | - - uses: actions/checkout@v4 |
73 | | - with: |
74 | | - fetch-depth: 0 |
75 | | - token: ${{ secrets.RELEASE_TOKEN }} |
76 | | - - |
77 | | - name: Update major release |
78 | | - uses: action-pack/github-release@master |
79 | | - env: |
80 | | - GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} |
81 | | - with: |
82 | | - tag: "v${{ vars.MAJOR }}" |
83 | | - title: "v${{ vars.MAJOR }}" |
84 | | - - |
85 | | - name: Increment version variable |
86 | | - uses: action-pack/bump@v2 |
87 | | - with: |
88 | | - token: ${{ secrets.RELEASE_TOKEN }} |
| 75 | + **Full Changelog**: https://github.com/${{ github.repository }}/compare//${{ env.previousTag }}...v${{ vars.MAJOR }}.${{ vars.MINOR }} |
| 76 | + - |
| 77 | + name: Increment version variable |
| 78 | + uses: action-pack/bump@v2 |
| 79 | + with: |
| 80 | + token: ${{ secrets.REPO_ACCESS_TOKEN }} |
0 commit comments