Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tarot
tarot
Commits
0543abb6
Commit
0543abb6
authored
Aug 24, 2018
by
Vivien Kraus
Browse files
Use full version in debian package
parent
2ba2760f
Pipeline
#70405
passed with stages
in 5 minutes and 59 seconds
Changes
4
Pipelines
1
Show whitespace changes
Inline
Side-by-side
ci/deb-src.sh
View file @
0543abb6
#!/bin/sh
VERSION
=
$(
cat
public/.version
)
VERSION_SHORT
=
$(
echo
"
$VERSION
"
|
sed
-
E
'
s/([0-9]*)\.([0-9]*).*/\1.\2/g'
)
VERSION_SHORT
=
$(
echo
"
$VERSION
"
|
cut
-
d
'
-'
-f
1
)
apt-get update
apt-get upgrade
-y
...
...
ci/deb.sh
View file @
0543abb6
#!/bin/sh
VERSION
=
$(
cat
public/.version
)
apt-get update
apt-get upgrade
-y
cd
public/debian
||
exit
1
...
...
debian/Makefile.am
View file @
0543abb6
...
...
@@ -18,6 +18,7 @@
EXTRA_DIST
+=
\
%reldir%/changelog
\
%reldir%/changelog.in
\
%reldir%/compat
\
%reldir%/control
\
%reldir%/copyright
\
...
...
@@ -38,3 +39,8 @@ EXTRA_DIST += \
%reldir%/tarot.doc-base.EX
\
%reldir%/tarot-docs.docs
\
%reldir%/watch.ex
%reldir%/changelog
:
%reldir%/changelog.in .version
$(AM_V_GEN)
sed
"s/VERSION/
$$
(echo
$(VERSION)
| cut -d - -f 1)/g"
\
%reldir%/changelog.in
\
>
%reldir%/changelog
debian/changelog
→
debian/changelog
.in
View file @
0543abb6
tarot (
0.0
-1) unstable; urgency=medium
tarot (
VERSION
-1) unstable; urgency=medium
* Initial release
...
...
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