Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Hugo Ishimaru
asdf
Commits
ab1d960a
Commit
ab1d960a
authored
Oct 10, 2014
by
Francois-Rene Rideau
Browse files
tools: yet another tweak about debian package versions.
parent
ddbbf177
Changes
2
Hide whitespace changes
Inline
Side-by-side
tools/release.lisp
View file @
ab1d960a
...
...
@@ -176,7 +176,7 @@
(
defun
publish-debian-package
(
&optional
release
)
"publish a debian package"
(
let
((
changes
(
strcat
"cl-asdf_"
(
debian-version-from-file
release
)
(
let
((
changes
(
strcat
"cl-asdf_"
(
debian-version-without-epoch
(
debian-version-from-file
release
)
)
"_"
(
debian-architecture
)
".changes"
)))
(
run*
`
(
dput
mentors
,
(
pn
"../"
changes
)))))
...
...
tools/version.lisp
View file @
ab1d960a
...
...
@@ -28,6 +28,14 @@
;; (C) rel = nil is for debian-native packages, e.g. base-passwd or cowbuilder
(
values
ver
epoch
rel
)))
(
defun
debian-version-string
(
ver
epoch
rel
)
(
format
nil
"~@[~D:~]~A~@[-~A~]"
epoch
ver
rel
))
(
defun
debian-version-without-epoch
(
version-string
)
(
multiple-value-bind
(
ver
epoch
rel
)
(
parse-debian-version
version-string
)
(
declare
(
ignore
epoch
))
(
debian-version-string
ver
nil
rel
)))
(
defparameter
*version*
(
version-from-file
))
;;; Bumping the version of ASDF
...
...
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