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 <[email protected]>
  • Loading branch information
qiujian16 authored 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/[email protected]
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.