Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
fc023f51
Commit
fc023f51
authored
10 years ago
by
Tristan Matthews
Browse files
Options
Downloads
Patches
Plain Diff
jenkins: use last tag for release, not current version.
Refs #51465 Change-Id: I7d58edbdd3e3e1952d8e95fa8c522c3a847a7cbf
parent
2740f812
No related branches found
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/build-system/launch-build-machine-jenkins.sh
+13
-12
13 additions, 12 deletions
tools/build-system/launch-build-machine-jenkins.sh
with
13 additions
and
12 deletions
tools/build-system/launch-build-machine-jenkins.sh
+
13
−
12
View file @
fc023f51
...
...
@@ -133,18 +133,6 @@ cd ${REFERENCE_REPOSITORY}
echo
"Update reference sources"
git checkout
.
&&
git checkout
-f
master
&&
git pull
# If release, checkout the latest tag
if
[
${
IS_RELEASE
}
]
;
then
git checkout
${
VERSION_NUMBER
}
fi
echo
"Retrieve build info"
# retrieve info we may need
if
[
${
IS_KDE_CLIENT
}
]
;
then
TAG_NAME_PREFIX
=
"kde."
LAUNCHPAD_PACKAGES
=(
"sflphone-kde"
)
fi
# Get the version
CURRENT_RELEASE_TAG_NAME
=
`
git describe
--tags
--abbrev
=
0
`
PREVIOUS_RELEASE_TAG_NAME
=
`
git describe
--tags
--abbrev
=
0
${
CURRENT_RELEASE_TAG_NAME
}
^
`
...
...
@@ -164,6 +152,19 @@ else
PREVIOUS_VERSION
=
${
PREVIOUS_RELEASE_TAG_NAME
}
fi
# If release, checkout the latest tag
if
[
${
IS_RELEASE
}
]
;
then
git checkout
${
CURRENT_RELEASE_TAG_NAME
}
fi
echo
"Retrieve build info"
# retrieve info we may need
if
[
${
IS_KDE_CLIENT
}
]
;
then
TAG_NAME_PREFIX
=
"kde."
LAUNCHPAD_PACKAGES
=(
"sflphone-kde"
)
fi
cd
${
LAUNCHPAD_DIR
}
COMMIT_HASH_BEGIN
=
""
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment