-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Jian Qiu <[email protected]>
- Loading branch information
Showing
2 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
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
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 |
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
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)) |