Skip to content

Commit

Permalink
Add changelog for v0.7.0 (#147)
Browse files Browse the repository at this point in the history
Signed-off-by: Jian Qiu <jqiu@redhat.com>
  • Loading branch information
qiujian16 committed Mar 24, 2022
1 parent d591ac0 commit 34f585d
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
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
echo "- See the [CHANGELOG](https://github.com/open-cluster-management-io/api/blob/main/CHANGELOG/CHANGELOG-${MAJOR_RELEASE_VERSION}.md) for more details." >> /home/runner/work/changelog.txt
- name: publish release
uses: softprops/action-gh-release@v0.1.5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
body_path: /home/runner/work/changelog.txt
23 changes: 23 additions & 0 deletions CHANGELOG/CHANGELOG-v0.7.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Changelog since v0.6.0
All notable changes to this project will be documented in this file.

## v0.7.0

### New Features
* Upgrade Placement and PlacementDecision to v1beta1. ([#136](https://github.com/open-cluster-management-io/api/pull/136) [@haoqing0110](https://github.com/haoqing0110))

### Added
* Add SelectorType in ClusterSet. ([#141](https://github.com/open-cluster-management-io/api/pull/141) [@ldpliu](https://github.com/ldpliu))

### Changes
* Add integration test. ([#145](https://github.com/open-cluster-management-io/api/pull/145) [@qiujian16](https://github.com/qiujian16))
* Add apiservice target ports ([#135](https://github.com/open-cluster-management-io/api/pull/135) [@xuezhaojun](https://github.com/xuezhaojun))

### Bug Fixes
* Fix wrong deploy option for klusterlet. ([#142](https://github.com/open-cluster-management-io/api/pull/142) [@qiujian16](https://github.com/qiujian16))
* Fix webhook configuration to pointer. ([#138](https://github.com/open-cluster-management-io/api/pull/138) [@xuezhaojun](https://github.com/xuezhaojun))
* Fix defaulter for clusterset, clustermanager and klusterlet. ([#144](https://github.com/open-cluster-management-io/api/pull/144) [@ldpliu](https://github.com/ldpliu))

### Removed & Deprecated
* Deprecate placement and placementdecision v1alpha1 ([#137](https://github.com/open-cluster-management-io/api/pull/137) [@haoqing0110](https://github.com/haoqing0110))
* Add hosted mode and deprecate detacded mode ([#146](https://github.com/open-cluster-management-io/api/pull/146) [@xuezhaojun](https://github.com/xuezhaojun))

0 comments on commit 34f585d

Please sign in to comment.