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: push:
branches: branches:
- main - main
- 1.13.x
tags-ignore: tags-ignore:
- '**' - '**'
pull_request: pull_request:
@ -15,7 +16,7 @@ jobs:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
strategy: strategy:
matrix: matrix:
go: ['1.16', '1.17', '1.18', '1.19', '1.20'] go: ['1.18', '1.19', '1.20']
name: Go ${{ matrix.go }} test name: Go ${{ matrix.go }} test
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@ -31,7 +32,7 @@ jobs:
release: release:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
needs: [test] 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: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps: steps:

View file

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

View file

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