From 34f585d51995d0fd9ea824b35b46e6d4be3cbe26 Mon Sep 17 00:00:00 2001 From: Jian Qiu Date: Thu, 24 Mar 2022 14:51:22 +0800 Subject: [PATCH] Add changelog for v0.7.0 (#147) Signed-off-by: Jian Qiu --- .github/workflows/release.yml | 31 +++++++++++++++++++++++++++++++ CHANGELOG/CHANGELOG-v0.7.md | 23 +++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 .github/workflows/release.yml create mode 100644 CHANGELOG/CHANGELOG-v0.7.md diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 000000000..959e20667 --- /dev/null +++ b/.github/workflows/release.yml @@ -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 diff --git a/CHANGELOG/CHANGELOG-v0.7.md b/CHANGELOG/CHANGELOG-v0.7.md new file mode 100644 index 000000000..e28119833 --- /dev/null +++ b/CHANGELOG/CHANGELOG-v0.7.md @@ -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)) \ No newline at end of file