-
Notifications
You must be signed in to change notification settings - Fork 74
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 <jqiu@redhat.com>
- 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/action-gh-release@v0.1.5 | ||
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)) |