Regenerate informers with WithTransform (#320) #8
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: GoRelease | |
on: | |
push: | |
tags: | |
- 'v*.*.*' | |
env: | |
# Common versions | |
GITHUB_REF: ${{ github.ref }} | |
jobs: | |
release: | |
name: release | |
runs-on: ubuntu-latest | |
steps: | |
- name: get release version | |
run: | | |
echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV | |
- name: get major release version | |
run: | | |
echo "MAJOR_RELEASE_VERSION=${RELEASE_VERSION%.*}" >> $GITHUB_ENV | |
- name: generate changelog | |
run: | | |
echo "# Open Cluster Management API $RELEASE_VERSION" > /home/runner/work/changelog.txt | |
- name: publish release | |
uses: softprops/action-gh-release@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
body_path: /home/runner/work/changelog.txt | |
draft: true | |
generate_release_notes: true |