Skip to content

Regenerate informers with WithTransform (#320) #8

Regenerate informers with WithTransform (#320)

Regenerate informers with WithTransform (#320) #8

Workflow file for this run

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