Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
111e42de
Commit
111e42de
authored
Apr 01, 2019
by
Jacob Vosmaer
Committed by
Nick Thomas
Apr 01, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update release process
parent
923ecb0a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
8 deletions
+40
-8
Makefile
Makefile
+8
-3
PROCESS.md
PROCESS.md
+8
-5
_support/tag.sh
_support/tag.sh
+24
-0
No files found.
Makefile
View file @
111e42de
...
@@ -88,10 +88,15 @@ clean-workhorse:
...
@@ -88,10 +88,15 @@ clean-workhorse:
$(
call
message,
$@
)
$(
call
message,
$@
)
rm
-f
$(EXE_ALL)
rm
-f
$(EXE_ALL)
.PHONY
:
release
.PHONY
:
tag
release
:
tag
:
$(
call
message,
$@
)
$(
call
message,
$@
)
sh _support/release.sh
sh _support/tag.sh
.PHONY
:
signed_tag
signed_tag
:
$(
call
message,
$@
)
TAG_OPTS
=
-s
sh _support/tag.sh
.PHONY
:
clean-build
.PHONY
:
clean-build
clean-build
:
clean-build
:
...
...
PROCESS.md
View file @
111e42de
...
@@ -19,11 +19,14 @@ The final merge must be performed by a maintainer.
...
@@ -19,11 +19,14 @@ The final merge must be performed by a maintainer.
New versions of Workhorse can be released by one of the Workhorse
New versions of Workhorse can be released by one of the Workhorse
maintainers. The release process is:
maintainers. The release process is:
-
create a merge request to update CHANGELOG and VERSION on the
-
pick a release branch. For x.y.0, use
`master`
. For all other
respective release branch (usually
`master`
)
versions (x.y.1, x.y.2 etc.) , use
`x-y-stable`
. Also see
[
below
](
#versioning
)
-
make sure the new version number adheres to our
[
versioning standard
](
#versioning
)
-
create a merge request to update CHANGELOG and VERSION on the
-
merge the merge request
release branch
-
run
`make release`
on the release branch
-
merge the merge request
-
run
`make tag`
or
`make signed_tag`
on the release branch. This will
make a tag matching the VERSION file.
-
push the tag to gitlab.com
## Versioning
## Versioning
...
...
_support/
release
.sh
→
_support/
tag
.sh
View file @
111e42de
set
-e
set
-e
remotes
=
'https://gitlab.com/gitlab-org/gitlab-workhorse.git'
main
()
{
main
()
{
get_version
get_version
tag_name
=
"v
${
version
}
"
tag_name
=
"v
${
version
}
"
git tag
-m
"Version
${
version
}
"
-a
${
tag_name
}
git tag
$TAG_OPTS
-m
"Version
${
version
}
"
-a
${
tag_name
}
git show
${
tag_name
}
git show
${
tag_name
}
echo
cat
<<
'
EOF
'
echo
"Does this look OK? Enter 'yes' to push to
${
remotes
}
"
read
confirmation
Remember to now push your tag, either to gitlab.com (for a
if
[
"x
${
confirmation
}
"
!=
xyes
]
;
then
normal release) or dev.gitlab.org (for a security release).
echo
"Aborting"
EOF
exit
1
fi
for
r
in
${
remotes
}
;
do
git push
"
${
r
}
"
HEAD
${
tag_name
}
done
}
}
get_version
()
{
get_version
()
{
...
...
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