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
849cfaaf
Commit
849cfaaf
authored
Nov 03, 2015
by
Isaac Hollander McCreery
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes to release scripts
parent
652a8a6a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
cut-official-release.sh
release/cut-official-release.sh
+4
-5
No files found.
release/cut-official-release.sh
View file @
849cfaaf
...
...
@@ -24,7 +24,7 @@ set -o pipefail
# Sets DIR, INSTRUCTIONS
function
main
()
{
# Parse arguments
if
[[
"$#"
-ne
2
]]
;
then
if
[[
"$#"
-ne
2
&&
"$#"
-ne
3
]]
;
then
usage
exit
1
fi
...
...
@@ -93,7 +93,7 @@ function main() {
local
-r
release_umask
=
${
release_umask
:-
022
}
umask
"
${
release_umask
}
"
local
-r
github
=
"
https://github.com/
kubernetes/kubernetes.git"
local
-r
github
=
"
git@github.com:
kubernetes/kubernetes.git"
declare
-r
DIR
=
$(
mktemp
-d
"/tmp/kubernetes-
${
release_type
}
-release-
${
new_version
}
-XXXXXXX"
)
# Start a tmp file that will hold instructions for the user.
...
...
@@ -340,10 +340,9 @@ function rev-version-and-commit() {
function
git-push
()
{
local
-r
object
=
"
${
1
}
"
if
$DRY_RUN
;
then
echo
"Dry run: would have done git push
${
object
}
"
echo
"Dry run: would have done git push
origin
${
object
}
"
else
echo
"NOT A DRY RUN: you don't really want to git push
${
object
}
, do you?"
# git push "${object}"
git push origin
"
${
object
}
"
fi
}
...
...
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