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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
86da8e09
Project 'savoirfairelinux/ring-daemon' was moved to 'savoirfairelinux/jami-daemon'. Please update any links and bookmarks that may still have the old path.
Commit
86da8e09
authored
15 years ago
by
Julien Bonjean
Browse files
Options
Downloads
Patches
Plain Diff
[#2181] Updated version management
parent
c9fcca77
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/build-system/launch-build-machine-2.sh
+8
-11
8 additions, 11 deletions
tools/build-system/launch-build-machine-2.sh
with
8 additions
and
11 deletions
tools/build-system/launch-build-machine-2.sh
+
8
−
11
View file @
86da8e09
...
...
@@ -7,7 +7,7 @@
# Author: Julien Bonjean (julien@bonjean.info)
#
# Creation Date: 2009-10-20
# Last Modified: 2009-10-21 1
6:54:28
-0400
# Last Modified: 2009-10-21 1
8:18:07
-0400
#####################################################
# home directory
...
...
@@ -21,7 +21,6 @@ VERSION_INDEX="1"
DO_PUSH
=
1
DO_LOGGING
=
1
DO_UPLOAD
=
1
DO_GIT_BRANCH_CHANGE
=
1
EDITOR
=
echo
export
EDITOR
...
...
@@ -31,7 +30,8 @@ REFERENCE_REPOSITORY="${ROOT_DIR}/sflphone-source-repository"
WORKING_DIR
=
"
${
ROOT_DIR
}
/sflphone-build-repository/tools/build-system"
LAUNCHPAD_DIR
=
"
${
WORKING_DIR
}
/launchpad"
LAUNCHPAD_DISTRIBUTIONS
=(
"jaunty"
"karmic"
)
LAUNCHPAD_PACKAGES
=(
"sflphone-client-gnome"
"sflphone-common"
)
#LAUNCHPAD_PACKAGES=( "sflphone-client-gnome" "sflphone-common" )
LAUNCHPAD_PACKAGES
=(
"sflphone-client-kde"
)
echo
echo
" /***********************
\\
"
...
...
@@ -48,15 +48,12 @@ do
echo
" --skip-push"
echo
" --skip-upload"
echo
" --no-logging"
echo
" --skip-git-branch-change"
echo
" --release"
echo
" --version-index=[1,2,...]"
echo
exit
0
;;
--skip-push
)
unset
DO_PUSH
;;
--skip-git-branch-change
)
unset
DO_GIT_BRANCH_CHANGE
;;
--skip-upload
)
unset
DO_UPLOAD
;;
--no-logging
)
...
...
@@ -141,13 +138,13 @@ if [ ${IS_RELEASE} ]; then
COMMIT_HASH_BEGIN
=
"
${
PREVIOUS_RELEASE_COMMIT_HASH
}
"
else
SNAPSHOT_TAG
=
`
date
+%Y%m%d
`
SOFTWARE_VERSION
=
"snapshot
${
SNAPSHOT_TAG
}
0
${
VERSION_INDEX
}
"
SOFTWARE_VERSION
=
"snapshot
${
SNAPSHOT_TAG
}
"
COMMIT_HASH_BEGIN
=
"
${
CURRENT_RELEASE_COMMIT_HASH
}
"
fi
cd
${
LAUNCHPAD_DIR
}
VERSION
=
"
ppa~SYSTEM~
${
SOFTWARE_VERSION
}
"
VERSION
=
"
${
SOFTWARE_VERSION
}
~ppa
${
VERSION_INDEX
}
~SYSTEM
"
for
LAUNCHPAD_PACKAGE
in
${
LAUNCHPAD_PACKAGES
[*]
}
do
...
...
@@ -192,7 +189,7 @@ END
for
LAUNCHPAD_DISTRIBUTION
in
${
LAUNCHPAD_DISTRIBUTIONS
[*]
}
do
LOCAL_VERSION
=
"
ppa
~
${
LAUNCHPAD_DISTRIBUTION
}
~
${
SOFTWARE_VERSION
}
"
LOCAL_VERSION
=
"
${
SOFTWARE_VERSION
}
~ppa
${
VERSION_INDEX
}
~
${
LAUNCHPAD_DISTRIBUTION
}
"
cp
${
DEBIAN_DIR
}
/control.
${
LAUNCHPAD_DISTRIBUTION
}
${
DEBIAN_DIR
}
/control
cp
${
DEBIAN_DIR
}
/changelog.generic
${
DEBIAN_DIR
}
/changelog
...
...
@@ -212,7 +209,7 @@ END
done
# if push is activated
if
[[
${
DO_PUSH
}
&&
${
IS_RELEASE
}
&&
${
DO_GIT_BRANCH_CHANGE
}
]]
;
then
if
[[
${
DO_PUSH
}
&&
${
IS_RELEASE
}
]]
;
then
echo
" Doing commit"
git commit
-m
"[#1262] Released
${
SOFTWARE_VERSION
}
"
.
...
...
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