Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
grid5000
g5k-api
Commits
c049251c
Commit
c049251c
authored
Apr 27, 2016
by
MARGERY David
Browse files
[Packaging] make the automatic inclusion of git logs in debian/changelog work again
parent
fdcaf45b
Changes
2
Hide whitespace changes
Inline
Side-by-side
debian/changelog
View file @
c049251c
g5k-api (3.4.12-8) jessie; urgency=medium
* fix postinst script for proper /usr/bin/g5k-api
* fix code path to find vendorize bundler
-- vagrant <vagrant@debian-8.2.0-amd64> Wed, 27 Apr 2016 08:42:25 +0000
g5k-api (3.4.12-7) jessie; urgency=medium
* New attempt at fixing ruby version dependency
-- vagrant <vagrant@debian-8.2.0-amd64> Wed, 27 Apr 2016 08:42:25 +0000
g5k-api (3.4.12-6) jessie; urgency=medium
* New attempt at fixing ruby version dependency
-- vagrant <vagrant@debian-8.2.0-amd64> Wed, 27 Apr 2016 08:42:25 +0000
g5k-api (3.4.12-2) jessie; urgency=low
* Fix ruby dependency
-- David Margery <david.margery@inria.fr> Wed, 16 Mar 2016 15:43:05 +0100
g5k-api (3.4.12-1) unstable; urgency=low
* release v
ersion
3.4.12
*
20a7ead
release v3.4.12
-- David Margery <david.margery@inria.fr> Wed, 16 Mar 2016 15:43:05 +0100
...
...
@@ -187,7 +162,7 @@ g5k-api (3.2.0-1) unstable; urgency=low
g5k-api (3.1.8-1) unstable; urgency=low
*
89f7224
[deploy] Bugfix: return 201 HTTP code on POST requests
*
3d594d7
[deploy] Bugfix: return 201 HTTP code on POST requests
* 7bc4d31 [deploy] Check timeouts when contacting the Kadeploy native API
-- Luc Sarzyniec <luc.sarzyniec@inria.fr> Tue, 25 Feb 2014 14:48:09 +0100
...
...
lib/tasks/packaging.rake
View file @
c049251c
...
...
@@ -49,7 +49,7 @@ def bump(index)
new_version
=
fragments
.
join
(
"."
)
changelog
=
File
.
read
(
CHANGELOG_FILE
)
last_commit
=
changelog
.
scan
(
/\s+\* ([a-
z
0-9]{7}) /
).
flatten
[
0
]
last_commit
=
changelog
.
scan
(
/\s+\* ([a-
f
0-9]{7}) /
).
flatten
[
0
]
puts
last_commit
cmd
=
"git log --oneline"
cmd
<<
"
#{
last_commit
}
..HEAD"
unless
last_commit
.
nil?
...
...
@@ -78,7 +78,7 @@ def bump(index)
puts
"Generated changelog for version
#{
new_version
}
."
unless
ENV
[
'NOCOMMIT'
]
puts
"Committing changelog and version file..."
sh
"git commit -m '
v
#{
new_version
}
'
#{
CHANGELOG_FILE
}
#{
VERSION_FILE
}
"
sh
"git commit -m '
Commit version
#{
new_version
}
'
#{
CHANGELOG_FILE
}
#{
VERSION_FILE
}
"
end
end
...
...
Write
Preview
Supports
Markdown
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