Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pkg-varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
pkg-varnish-cache
Commits
b3f151e2
Commit
b3f151e2
authored
Oct 26, 2017
by
Denis Brækhus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Another attempt at weekly versions.
parent
a820508e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
package-deb
package-deb
+1
-1
package-rpm
package-rpm
+2
-2
No files found.
package-deb
View file @
b3f151e2
...
@@ -65,7 +65,7 @@ sed -i -e "s|^Section: \([^/]*\)\$|Section: varnish-$V/\1|" debian/control
...
@@ -65,7 +65,7 @@ sed -i -e "s|^Section: \([^/]*\)\$|Section: varnish-$V/\1|" debian/control
# Take version override set on Jenkins builds into account.
# Take version override set on Jenkins builds into account.
if
[
-n
"
$WEEKLY_VERSION
"
]
;
then
if
[
-n
"
$WEEKLY_VERSION
"
]
;
then
FULL_VERSION
=
"
trunk-
${
WEEKLY_
VERSION
}
"
FULL_VERSION
=
"
${
WEEKLY_VERSION
}
+
${
DEB
VERSION
}
"
dch
-v
"
$FULL_VERSION
"
"Release build #
$BUILD_NUMBER
ID:
$BUILD_ID
"
dch
-v
"
$FULL_VERSION
"
"Release build #
$BUILD_NUMBER
ID:
$BUILD_ID
"
elif
[[
-n
"
${
DEBVERSION
}
"
]]
;
then
elif
[[
-n
"
${
DEBVERSION
}
"
]]
;
then
if
[
"
$RELEASE
"
==
""
]
;
then
if
[
"
$RELEASE
"
==
""
]
;
then
...
...
package-rpm
View file @
b3f151e2
...
@@ -23,8 +23,8 @@ cp -r ../redhat/* .
...
@@ -23,8 +23,8 @@ cp -r ../redhat/* .
ln
"
$SOURCE
"
`
basename
"
$SOURCE
"
`
ln
"
$SOURCE
"
`
basename
"
$SOURCE
"
`
if
[
-n
"
$WEEKLY_VERSION
"
]
;
then
if
[
-n
"
$WEEKLY_VERSION
"
]
;
then
sed
-i
-e
"s/^Version:.*/Version:
trunk
/"
./
*
.spec
sed
-i
-e
"s/^Version:.*/Version:
$WEEKLY_VERSION
/"
./
*
.spec
sed
-i
-e
"s/.*define v_rc.*/
\%
define v_rc
$WEEKLY_VERSION
/"
./
*
.spec
sed
-i
-e
"s/.*define v_rc.*/
\%
define v_rc
0
/"
./
*
.spec
else
else
findversion
"
$SOURCE
"
findversion
"
$SOURCE
"
sed
-i
-e
"s/^Version:.*/Version:
$V
.
$MINOR
/"
./
*
.spec
sed
-i
-e
"s/^Version:.*/Version:
$V
.
$MINOR
/"
./
*
.spec
...
...
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