Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
5cc56baf
Commit
5cc56baf
authored
Oct 05, 2011
by
Tristan Matthews
Browse files
* #7046: fix launchpad script to get last git tags
parent
7d1a1332
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/build-system/launch-build-machine-2.sh
View file @
5cc56baf
...
...
@@ -118,8 +118,8 @@ if [ ${IS_KDE_CLIENT} ]; then
TAG_NAME_PREFIX
=
"kde."
LAUNCHPAD_PACKAGES
=(
"sflphone-client-kde"
)
fi
CURRENT_RELEASE_TAG_NAME
=
`
git tag
-
l
"
${
TAG_NAME_PREFIX
}
[0-9]
\.
[0-9]
\.
[0-9]*
\.
*"
|
tail
-n
1
`
PREVIOUS_RELEASE_TAG_NAME
=
`
git tag
-
l
"
${
TAG_NAME_PREFIX
}
[0-9]
\.
[0-9]
\.
[0-9]*
\.
*"
|
tail
-n
2 |
sed
-n
'1p;1q'
`
CURRENT_RELEASE_TAG_NAME
=
$(
git
for
-each-ref
refs/
tag
s
-
-sort
=
-authordate
--format
=
'%(refname)'
--count
=
1 |
cut
-d
'/'
-f3
)
PREVIOUS_RELEASE_TAG_NAME
=
$(
git
for
-each-ref
refs/
tag
s
-
-sort
=
-authordate
--format
=
'%(refname)'
--count
=
2 |
cut
-d
'/'
-f3
|
tail
-n1
)
CURRENT_RELEASE_COMMIT_HASH
=
`
git show
--pretty
=
format:
"%H"
-s
${
CURRENT_RELEASE_TAG_NAME
}
|
tail
-n
1
`
PREVIOUS_RELEASE_COMMIT_HASH
=
`
git show
--pretty
=
format:
"%H"
-s
${
PREVIOUS_RELEASE_TAG_NAME
}
|
tail
-n
1
`
CURRENT_COMMIT
=
`
git show
--pretty
=
format:
"%H"
-s
|
tail
-n
1
`
...
...
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