chore: v1 branch maintainance releaser

This commit is contained in:
Tim Möhlmann 2023-03-22 15:09:28 +02:00
parent eea2ed1a51
commit eb0e9a1b7a
3 changed files with 5 additions and 6 deletions

View file

@ -3,6 +3,7 @@ on:
push:
branches:
- main
- 1.13.x
tags-ignore:
- '**'
pull_request:
@ -15,7 +16,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
go: ['1.16', '1.17', '1.18', '1.19', '1.20']
go: ['1.18', '1.19', '1.20']
name: Go ${{ matrix.go }} test
steps:
- uses: actions/checkout@v3
@ -31,7 +32,7 @@ jobs:
release:
runs-on: ubuntu-20.04
needs: [test]
if: ${{ github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/main' }}
if: ${{ github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/v1' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:

View file

@ -1,5 +1,5 @@
module.exports = {
branches: ["main"],
branches: ["1.13.x", "main"],
plugins: [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",

View file

@ -87,9 +87,7 @@ Versions that also build are marked with :warning:.
| Version | Supported |
|---------|--------------------|
| <1.16 | :x: |
| 1.16 | :warning: |
| 1.17 | :warning: |
| <1.18 | :x: |
| 1.18 | :warning: |
| 1.19 | :white_check_mark: |
| 1.20 | :white_check_mark: |