Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
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
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
0542e43b
Commit
0542e43b
authored
9 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Prepare 3.8
parent
ccd471bc
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
build/debian/changelog
+1
-1
1 addition, 1 deletion
build/debian/changelog
build/makepack-dolibarr.pl
+20
-4
20 additions, 4 deletions
build/makepack-dolibarr.pl
with
21 additions
and
5 deletions
build/debian/changelog
+
1
−
1
View file @
0542e43b
dolibarr (
3.8.0-3
) UNRELEASED; urgency=low
dolibarr (
__VERSION__
) UNRELEASED; urgency=low
[ Laurent Destailleur (eldy) ]
* New upstream release.
...
...
This diff is collapsed.
Click to expand it.
build/makepack-dolibarr.pl
+
20
−
4
View file @
0542e43b
...
...
@@ -64,6 +64,13 @@ $DIR||='.'; $DIR =~ s/([^\/\\])[\\\/]+$/$1/;
$SOURCE
=
"
$DIR
/..
";
$DESTI
=
"
$SOURCE
/build
";
if
(
$SOURCE
!~
/^\//
)
{
print
"
Error: Launch the script
$PROG
.
$Extension
with its full path from /.
\n
";
print
"
$PROG
.
$Extension
aborted.
\n
";
sleep
2
;
exit
1
;
}
if
(
!
$ENV
{"
DESTIBETARC
"}
||
!
$ENV
{"
DESTISTABLE
"})
{
print
"
Error: Missing environment variables.
\n
";
...
...
@@ -337,8 +344,8 @@ foreach my $target (sort keys %CHOOSEDPUBLISH) {
if
(
$nboftargetok
)
{
# Update
CVS
if required
#-----------------------
# Update
GIT tag
if required
#-----------------------
----
if
(
$nbofpublishneedtag
)
{
print
"
Go to directory
$SOURCE
\n
";
...
...
@@ -683,7 +690,7 @@ if ($nboftargetok) {
use
Date::
Language
;
$lang
=
Date::
Language
->
new
('
English
');
$datestring
=
$lang
->
time2str
("
%a %b %e %Y
",
time
);
$changelogstring
=
"
*
"
.
$datestring
.
"
Laurent Destailleur
$MAJOR
.
$MINOR
.
$REL1
-
$RPMSUBVERSION
\n
- Upstream release
\n
";
$changelogstring
=
"
*
"
.
$datestring
.
"
Laurent Destailleur
(eldy)
$MAJOR
.
$MINOR
.
$REL1
-
$RPMSUBVERSION
\n
- Upstream release
\n
";
print
"
Generate file
$BUILDROOT
/
$BUILDFIC
from
$SOURCE
/build/rpm/
${BUILDFICSRC}
\n
";
open
(
SPECFROM
,"
<
$SOURCE
/build/rpm/
${BUILDFICSRC}
")
||
die
"
Error
";
...
...
@@ -805,8 +812,17 @@ if ($nboftargetok) {
print
"
Create directory
$BUILDROOT
/
$PROJECT
.tmp/debian
\n
";
$ret
=
`
mkdir "
$BUILDROOT
/
$PROJECT
.tmp/debian"
`;
print
"
Copy
$SOURCE
/build/debian/xxx to
$BUILDROOT
/
$PROJECT
.tmp/debian
\n
";
# Add files for dpkg-source (changelog)
#$ret=`cp -f "$SOURCE/build/debian/changelog" "$BUILDROOT/$PROJECT.tmp/debian"`;
open
(
SPECFROM
,"
<
$SOURCE
/build/debian/changelog
")
||
die
"
Error
";
open
(
SPECTO
,"
>
$BUILDROOT
/
$PROJECT
.tmp/debian/changelog
")
||
die
"
Error
";
while
(
<
SPECFROM
>
)
{
$_
=~
s/__VERSION__/$MAJOR.$MINOR.$newbuild/
;
print
SPECTO
$_
;
}
close
SPECFROM
;
close
SPECTO
;
# Add files for dpkg-source
$ret
=
`
cp -f "
$SOURCE
/build/debian/changelog" "
$BUILDROOT
/
$PROJECT
.tmp/debian"
`;
$ret
=
`
cp -f "
$SOURCE
/build/debian/compat" "
$BUILDROOT
/
$PROJECT
.tmp/debian"
`;
$ret
=
`
cp -f "
$SOURCE
/build/debian/control" "
$BUILDROOT
/
$PROJECT
.tmp/debian"
`;
$ret
=
`
cp -f "
$SOURCE
/build/debian/copyright" "
$BUILDROOT
/
$PROJECT
.tmp/debian"
`;
...
...
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