Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1502 from mesosphere/v0.9.2-rel
Browse files Browse the repository at this point in the history
Update repo for release v0.9.2
  • Loading branch information
k8s-ci-robot authored May 18, 2022
2 parents 44c3be4 + 1505a0b commit ba0bf52
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 14 deletions.
17 changes: 13 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
16 changes: 15 additions & 1 deletion charts/index.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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"
8 changes: 5 additions & 3 deletions scripts/build-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 2 additions & 6 deletions scripts/create-gh-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<EOF
${RELEASE_TAG}
## Changelog
$(sed -E "1,/${regex}/d ; /${regex}/,\$d" CHANGELOG.md)
$(sed -En "/^# ${RELEASE_TAG}/,/${regex}/p" CHANGELOG.md | head -n-2)
## Artifacts
Expand Down

0 comments on commit ba0bf52

Please sign in to comment.