Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblongpath-rsync
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liblongpath
liblongpath-rsync
Commits
178a1d20
Commit
178a1d20
authored
Oct 15, 2006
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Die if we can't edit the release date into NEWS or OLDNEWS.
- Don't remove any *pre*diff* files until the final release.
parent
a4b4e077
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
release-rsync
packaging/release-rsync
+12
-4
No files found.
packaging/release-rsync
View file @
178a1d20
...
@@ -162,9 +162,14 @@ foreach my $fn (@tweak_files) {
...
@@ -162,9 +162,14 @@ foreach my $fn (@tweak_files) {
}
elsif
(
$fn
=~
/\.yo/
)
{
}
elsif
(
$fn
=~
/\.yo/
)
{
s/^(manpage\([^)]+\)\(\d+\)\()[^)]+(\).*)/$1$today$2/m
;
s/^(manpage\([^)]+\)\(\d+\)\()[^)]+(\).*)/$1$today$2/m
;
s/^(This man ?page is current for version) \S+ (of rsync)/$1 $version $2/m
;
s/^(This man ?page is current for version) \S+ (of rsync)/$1 $version $2/m
;
}
elsif
(
$fn
eq
'NEWS'
)
{
s/^(NEWS for rsync \Q$version\E) \(UNRELEASED\)\s*\n/$1 ($today)\n/mi
or
die
"Couldn't update NEWS file with release date!\n"
;
}
elsif
(
$fn
eq
'OLDNEWS'
)
{
s/^\t\S\S\s\S\S\S\s\d\d\d\d(\t\Q$version\E)/\t$ztoday$1/m
or
die
"Couldn't update OLDNEWS file with release date!\n"
;
}
else
{
}
else
{
s/^(NEWS for rsync \Q$version\E) \(UNRELEASED\)\s*\n/$1 ($today)\n/m
;
die
"Unrecognized file in \@tweak_files: $fn\n"
;
s/^\t\S\S\s\S\S\S\s\d\d\d\d(\t\Q$version\E)/\t$ztoday$1/m
;
}
}
open
(
OUT
,
'>'
,
$fn
)
or
die
$!
;
open
(
OUT
,
'>'
,
$fn
)
or
die
$!
;
print
OUT
$_
;
print
OUT
$_
;
...
@@ -251,8 +256,11 @@ if ($diffdir ne $dest) {
...
@@ -251,8 +256,11 @@ if ($diffdir ne $dest) {
push
(
@moved_files
,
$fn
);
push
(
@moved_files
,
$fn
);
}
}
foreach
my
$fn
(
glob
(
'rsync*pre*.diffs.gz*'
))
{
unlink
(
$fn
);
}
foreach
my
$fn
(
glob
(
'rsync*.diffs.gz*'
))
{
foreach
my
$fn
(
glob
(
'rsync*.diffs.gz*'
))
{
next
if
$fn
=~
/^rsync.*pre/
;
link
(
$fn
,
"old-patches/$fn"
)
or
die
$!
;
link
(
$fn
,
"old-patches/$fn"
)
or
die
$!
;
push
(
@moved_files
,
$fn
);
push
(
@moved_files
,
$fn
);
}
}
...
@@ -263,7 +271,7 @@ if ($diffdir ne $dest) {
...
@@ -263,7 +271,7 @@ if ($diffdir ne $dest) {
if
(
$live
)
{
if
(
$live
)
{
system
"rsync -avHOC --include='rsync*.gz*' --include='old-*/' --exclude='*' . samba.org:/home/ftp/pub/rsync"
;
system
"rsync -avHOC --include='rsync*.gz*' --include='old-*/' --exclude='*' . samba.org:/home/ftp/pub/rsync"
;
}
}
foreach
(
@moved_files
,
glob
(
"rsync*pre*.diffs.gz*"
)
)
{
foreach
(
@moved_files
)
{
unlink
(
$_
);
unlink
(
$_
);
}
}
...
...
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