Release 0.25.0 preparation (#1008) #58
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
tags: | |
- 'v?[0-9]+.[0-9]+.[0-9]+' | |
- "v?[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+" | |
#- "v?[0-9]+.[0-9]+.[0-9]+-dev.[0-9]+" Disabled for now for dev tags | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Concatenate CRDs | |
run: | | |
find config/base/crds/ -name '*.yaml' -maxdepth 1 -exec cat {} + >> kafka-operator.crds.yaml | |
- name: Create Release | |
id: create_release | |
uses: actions/create-release@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
tag_name: ${{ github.ref }} | |
release_name: Koperator ${{ github.ref }} | |
body: | | |
This release fixes several bug and introduce a couple of new features: | |
## New features: | |
- TODO | |
## Bug Fixes: | |
- TODO | |
## Upgrade Notes: | |
- TODO | |
[v#TODO...${{ github.ref }}](https://github.com/banzaicloud/koperator/compare/v#TODO...${{ github.ref }}) | |
Thanks for the huge help from the community 🍺 | |
prerelease: false | |
draft: true | |
- name: Upload CRDs | |
id: upload-release-asset | |
uses: actions/upload-release-asset@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: ./kafka-operator.crds.yaml | |
asset_name: kafka-operator.crds.yaml | |
asset_content_type: text/plain |