Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Barchiesi
OpenLDAP
Commits
1e410ac5
Commit
1e410ac5
authored
14 years ago
by
Kurt Zeilenga
Committed by
Kurt Zeilenga
14 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update mkrelease for git(1)
parent
ee0808df
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build/mkrelease
+8
-8
8 additions, 8 deletions
build/mkrelease
with
8 additions
and
8 deletions
build/mkrelease
+
8
−
8
View file @
1e410ac5
...
...
@@ -14,25 +14,26 @@
## <http://www.OpenLDAP.org/license.html>.
#
# Make a release
# mkrelease RELNAME CVSTAG CVSMODULES
# where CVSTAG is the tag to export from the current CVSROOT
#
#
# This script MUST NOT add files to the export nor modify
# any file in the export.
# any file in the export, exceptions:
# make guide.html
#
set
-e
# exit immediately if any errors occur
if
test
$#
!=
3
;
then
echo
'usage: mkrelease RELNAME
CVSTAG CVSMODULES ...
'
echo
'usage: mkrelease
REPO
RELNAME
TAG
'
exit
1
fi
REPO
=
$1
shift
RELNAME
=
openldap-
$1
shift
CVS
TAG
=
$1
TAG
=
$1
shift
if
test
-e
$RELNAME
;
then
...
...
@@ -41,10 +42,9 @@ if test -e $RELNAME ; then
fi
echo
Release:
$RELNAME
echo
CVS Tag:
$CVSTAG
echo
Modules:
$*
echo
Tag:
$TAG
cvs
-q
export
-kkv
-r
$CVSTAG
-d
$RELNAME
$*
git archive
--format
=
tar
--prefix
=
"
${
RELNAME
}
/"
--remote
=
"
${
REPO
}
"
"
$TAG
"
|
tar
xvf -
if
test
!
-d
$RELNAME
;
then
echo
"error:
$RELNAME
doesn't exists"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment