diff --git a/CHANGELOG.md b/CHANGELOG.md index 10c933bd48..61bef1b2c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,17 @@ -# Unreleased +# v0.9.2 -# v0.10.0 -- [#1492](https://github.com/kubernetes-sigs/kubefed/pull/1492) - feat: Upgrade to controller-runtime 0.10.3 +## What's Changed +* Introduce cluster config malformed condition to KubeFedCluster by @zqzten in https://github.com/kubernetes-sigs/kubefed/pull/1476 +* Handle possible conflict in updating test labels on cluster by @irfanurrehman in https://github.com/kubernetes-sigs/kubefed/pull/1500 +* Introduce Kubernetes version to status of KubeFedCluster by @zqzten in https://github.com/kubernetes-sigs/kubefed/pull/1501 +* Ignore non-targeted clusters during deletion by @jonathanbeber in https://github.com/kubernetes-sigs/kubefed/pull/1499 +* Update runtime-controller v0.10.3 by @tehlers320 in https://github.com/kubernetes-sigs/kubefed/pull/1492 + +## New Contributors +* @jonathanbeber made their first contribution in https://github.com/kubernetes-sigs/kubefed/pull/1499 +* @tehlers320 made their first contribution in https://github.com/kubernetes-sigs/kubefed/pull/1492 + +**Full Changelog**: https://github.com/kubernetes-sigs/kubefed/compare/v0.9.1...v0.9.2 # v0.9.1 - [#1490](https://github.com/kubernetes-sigs/kubefed/pull/1490) diff --git a/charts/index.yaml b/charts/index.yaml index 1fe0ed7971..4e57c962ed 100644 --- a/charts/index.yaml +++ b/charts/index.yaml @@ -1,6 +1,20 @@ apiVersion: v1 entries: kubefed: + - apiVersion: v2 + created: "2022-05-18T09:32:23.107302386+01:00" + dependencies: + - condition: controllermanager.enabled + name: controllermanager + repository: https://localhost/ + version: 0.9.2 + description: KubeFed helm chart + digest: 267cd6fe64c752e27e577971f92c3df5ada1746c085a5f7c2d2ead62e803d676 + kubeVersion: '>= 1.16.0-0' + name: kubefed + urls: + - https://github.com/kubernetes-sigs/kubefed/releases/download/v0.9.2/kubefed-0.9.2.tgz + version: 0.9.2 - apiVersion: v2 created: "2022-02-15T10:39:01.477937005Z" dependencies: @@ -225,4 +239,4 @@ entries: urls: - https://github.com/kubernetes-sigs/kubefed/releases/download/v0.1.0-rc1/kubefed-0.1.0-rc1.tgz version: 0.1.0-rc1 -generated: "2022-02-15T10:39:01.476784537Z" +generated: "2022-05-18T09:32:23.106029679+01:00" diff --git a/scripts/build-release.sh b/scripts/build-release.sh index bd1976a1bb..e2e84e1b2b 100755 --- a/scripts/build-release.sh +++ b/scripts/build-release.sh @@ -108,9 +108,11 @@ function verify-container-image() { } function update-changelog() { - if ! grep "^# ${RELEASE_TAG}" CHANGELOG.md &> /dev/null; then - sed -i "/# Unreleased/a \\\n# ${RELEASE_TAG}" CHANGELOG.md - fi + printf "%s\n\n%s\n" \ + "$(gh api --method POST -H "Accept: application/vnd.github.v3+json" \ + /repos/"${GITHUB_REPO}"/releases/generate-notes -f tag_name="${RELEASE_TAG}" \ + -q '"# "+.name+"\n\n"+.body')" \ + "$(cat CHANGELOG.md)" > CHANGELOG.md } if [[ ! "${RELEASE_TAG}" =~ ${RELEASE_TAG_REGEX} ]]; then diff --git a/scripts/create-gh-release.sh b/scripts/create-gh-release.sh index 50460a2426..cf4ea0459e 100755 --- a/scripts/create-gh-release.sh +++ b/scripts/create-gh-release.sh @@ -51,13 +51,9 @@ function verify-assets-file-exists() { function github-release-template() { # Add leading # for markdown heading level 1 (h1) - local regex="${RELEASE_TAG_REGEX/^/^\# })" + local regex="${RELEASE_TAG_REGEX/^/^\# }" cat <