Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
dc88f183
Commit
dc88f183
authored
Dec 10, 2015
by
k8s-merge-robot
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #17777 from fgrzadkowski/release_docs
Auto commit by PR queue bot
parents
08de178f
ee9a779d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
9 deletions
+13
-9
releasing.md
docs/devel/releasing.md
+5
-4
build-official-release.sh
release/build-official-release.sh
+8
-5
No files found.
docs/devel/releasing.md
View file @
dc88f183
...
...
@@ -134,7 +134,7 @@ git clone git@github.com:kubernetes/kubernetes.git
cd kubernetes
```
or
`git checkout upstream/master`
from an existing repo.
or
`git
fetch upstream && git
checkout upstream/master`
from an existing repo.
Decide what version you're cutting and export it:
...
...
@@ -210,9 +210,10 @@ release](https://github.com/kubernetes/kubernetes/releases/new):
1.
fill in the release title from the draft;
1.
re-run the appropriate release notes tool(s) to pick up any changes people
have made;
1.
find the appropriate
`kubernetes.tar.gz`
in GCS, download it, double check
the hash (compare to what you had in the release notes draft), and attach it
to the release; and
1.
find the appropriate
`kubernetes.tar.gz`
in
[
GCS bucket
](
https://
console.developers.google.com/storage/browser/kubernetes-release/release/),
download it, double check the hash (compare to what you had in the release
notes draft), and attach it to the release; and
1.
publish!
## Injecting Version into Binaries
...
...
release/build-official-release.sh
View file @
dc88f183
...
...
@@ -52,7 +52,12 @@ VERSION_REGEX="^v(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)(-(beta|alph
}
VERSION_MAJOR
=
"
${
BASH_REMATCH
[1]
}
"
VERSION_MINOR
=
"
${
BASH_REMATCH
[2]
}
"
RELEASE_BRANCH
=
"release-
${
VERSION_MAJOR
}
.
${
VERSION_MINOR
}
"
if
[[
"
$KUBE_RELEASE_VERSION
"
=
~
"alpha"
]]
;
then
# We don't want to version docs for alpha releases, so we are just pointing to head.
RELEASE_BRANCH
=
"master"
else
RELEASE_BRANCH
=
"release-
${
VERSION_MAJOR
}
.
${
VERSION_MINOR
}
"
fi
declare
-r
KUBE_BUILD_DIR
=
$(
mktemp
-d
"/tmp/kubernetes-build-release-
${
KUBE_RELEASE_VERSION
}
-XXXXXXX"
)
...
...
@@ -117,11 +122,9 @@ binary | hash alg | hash
\`kubernetes.tar.gz\` | md5 | \`
${
MD5
}
\`
\`kubernetes.tar.gz\` | sha1 | \`
${
SHA1
}
\`
We'll fill in the release notes in the next stage.
4) Ensure all the binaries are in place on GCS before cleaning, (you might
3) Ensure all the binaries are in place on GCS before cleaning, (you might
want to wait until the release is announced and published on GitHub, too).
5
) make clean; popd; rm -rf
${
KUBE_BUILD_DIR
}
4
) make clean; popd; rm -rf
${
KUBE_BUILD_DIR
}
EOM
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment