Skip to content

Commit

Permalink
Remove project release file (#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
Terry Howe authored Mar 30, 2021
1 parent 8894d4e commit 7756e02
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 7 deletions.
2 changes: 0 additions & 2 deletions docs/contents/runbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ unless there is a change.
* release/${RELEASE_BRANCH}/RELEASE-PUBLIC (set to 0)
* projects/kubernetes/kubernetes/${RELEASE_BRANCH}/GIT_TAG
* projects/kubernetes/kubernetes/${RELEASE_BRANCH}/KUBE_GIT_VERSION_FILE
* projects/kubernetes/kubernetes/${RELEASE_BRANCH}/RELEASE (set to 0)
* Create GIT_TAG files for other components (etcd, coredns, ...)
* Add support in kops script for new release
1. **Docs PR**: Create a PR with an empty change log and docs for release
Expand All @@ -27,7 +26,6 @@ unless there is a change.
1. **Create EKS Distro Release PR**: Modify components to create a release
* release/${RELEASE_BRANCH}/RELEASE (set to 1)
* release/${RELEASE_BRANCH}/RELEASE-PUBLIC (set to 1)
* projects/kubernetes/kubernetes/${RELEASE_BRANCH}/RELEASE (set to 1)
1. **Docs PR**: Do final update to documentation with CRD
* docs/contents/releases/${RELEASE_BRANCH}/${RELEASE}/index.md
* docs/contents/releases/${RELEASE_BRANCH}/${RELEASE}/CHANGELOG*
Expand Down
1 change: 0 additions & 1 deletion projects/kubernetes/kubernetes/1-18/RELEASE

This file was deleted.

1 change: 0 additions & 1 deletion projects/kubernetes/kubernetes/1-19/RELEASE

This file was deleted.

1 change: 0 additions & 1 deletion projects/kubernetes/kubernetes/1-20/RELEASE

This file was deleted.

3 changes: 2 additions & 1 deletion projects/kubernetes/kubernetes/build/create_binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ GOLANG_VERSION="$4"
source "${MAKE_ROOT}/build/lib/init.sh"
source "${MAKE_ROOT}/../../../build/lib/common.sh"

RELEASE_FILE="${MAKE_ROOT}/${RELEASE_BRANCH}/RELEASE"
BASE_DIRECTORY=$(git rev-parse --show-toplevel)
RELEASE_FILE="${BASE_DIRECTORY}/release/${RELEASE_BRANCH}/RELEASE"
PATCH_DIR=${MAKE_ROOT}/${RELEASE_BRANCH}/patches
export KUBE_GIT_VERSION=$(build::version::kube_git_version $GIT_TAG $RELEASE_FILE $RELEASE_BRANCH)
if [ -d ${OUTPUT_DIR}/${RELEASE_BRANCH}/bin ]; then
Expand Down
3 changes: 2 additions & 1 deletion projects/kubernetes/kubernetes/build/create_version_file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ set -o pipefail
TAG=$1
RELEASE_BRANCH=$2

BASE_DIRECTORY=$(git rev-parse --show-toplevel)
MAKE_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd -P)"
source "${MAKE_ROOT}/build/lib/init.sh"
BIN_DIR="${OUTPUT_DIR}/${RELEASE_BRANCH}/bin"
Expand All @@ -31,5 +32,5 @@ fi
VERSION_FILE="${MAKE_ROOT}/${RELEASE_BRANCH}/KUBE_GIT_VERSION_FILE"
rm -f $VERSION_FILE
touch $VERSION_FILE
RELEASE_FILE="${MAKE_ROOT}/${RELEASE_BRANCH}/RELEASE"
RELEASE_FILE="${BASE_DIRECTORY}/release/${RELEASE_BRANCH}/RELEASE"
build::version::create_env_file "$TAG" "$VERSION_FILE" "$RELEASE_FILE" "kubernetes" "$RELEASE_BRANCH"

0 comments on commit 7756e02

Please sign in to comment.