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
0be07efe
Commit
0be07efe
authored
15 years ago
by
Julien Bonjean
Browse files
Options
Downloads
Patches
Plain Diff
[#2181] Updated launchpad packaging
parent
86da8e09
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tools/build-system/launch-build-machine-2.sh
+16
-14
16 additions, 14 deletions
tools/build-system/launch-build-machine-2.sh
tools/build-system/launchpad/dput.conf
+18
-4
18 additions, 4 deletions
tools/build-system/launchpad/dput.conf
with
34 additions
and
18 deletions
tools/build-system/launch-build-machine-2.sh
+
16
−
14
View file @
0be07efe
...
...
@@ -21,6 +21,7 @@ VERSION_INDEX="1"
DO_PUSH
=
1
DO_LOGGING
=
1
DO_UPLOAD
=
1
SNAPSHOT_TAG
=
`
date
+%Y%m%d
`
EDITOR
=
echo
export
EDITOR
...
...
@@ -30,8 +31,7 @@ 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-kde"
)
LAUNCHPAD_PACKAGES
=(
"sflphone-client-gnome"
"sflphone-common"
)
echo
echo
" /***********************
\\
"
...
...
@@ -103,9 +103,9 @@ fi
echo
"Update reference sources"
if
[
${
IS_RELEASE
}
]
;
then
cd
${
REFERENCE_REPOSITORY
}
&&
git checkout
origin/release
-
b
release
&&
git pull
cd
${
REFERENCE_REPOSITORY
}
&&
git checkout
.
&&
git checkout
-
f
release
&&
git pull
else
cd
${
REFERENCE_REPOSITORY
}
&&
git checkout master
&&
git pull
cd
${
REFERENCE_REPOSITORY
}
&&
git checkout
.
&&
git checkout
-f
master
&&
git pull
fi
echo
"Retrieve build info"
...
...
@@ -125,6 +125,7 @@ cd ${LAUNCHPAD_DIR}
COMMIT_HASH_BEGIN
=
""
COMMIT_HASH_END
=
""
SOFTWARE_VERSION
=
""
LAUNCHPAD_CONF_PREFIX
=
""
echo
"Clean build directory"
git clean
-f
-x
${
LAUNCHPAD_DIR
}
/
*
>
/dev/null
...
...
@@ -136,10 +137,11 @@ if [ ${IS_RELEASE} ]; then
fi
SOFTWARE_VERSION
=
"
${
CURRENT_RELEASE_VERSION
}${
VERSION_APPEND
}
"
COMMIT_HASH_BEGIN
=
"
${
PREVIOUS_RELEASE_COMMIT_HASH
}
"
LAUNCHPAD_CONF_PREFIX
=
"sflphone"
else
SNAPSHOT_TAG
=
`
date
+%Y%m%d
`
SOFTWARE_VERSION
=
"snapshot
${
SNAPSHOT_TAG
}
"
COMMIT_HASH_BEGIN
=
"
${
CURRENT_RELEASE_COMMIT_HASH
}
"
LAUNCHPAD_CONF_PREFIX
=
"sflphone-nightly"
fi
cd
${
LAUNCHPAD_DIR
}
...
...
@@ -198,24 +200,24 @@ END
cd
${
LAUNCHPAD_DIR
}
/
${
LAUNCHPAD_PACKAGE
}
./autogen.sh
debuild
-S
-sa
-k
CCCC676C
debuild
-S
-sa
-k
FDFE4451
cd
${
LAUNCHPAD_DIR
}
if
[
${
DO_UPLOAD
}
]
;
then
dput
-f
-c
${
LAUNCHPAD_DIR
}
/dput.conf
sflphone
-
${
LAUNCHPAD_DISTRIBUTION
}
${
LAUNCHPAD_PACKAGE
}
_
${
LOCAL_VERSION
}
_source.changes
dput
-f
-c
${
LAUNCHPAD_DIR
}
/dput.conf
${
LAUNCHPAD_CONF_PREFIX
}
-
${
LAUNCHPAD_DISTRIBUTION
}
${
LAUNCHPAD_PACKAGE
}
_
${
LOCAL_VERSION
}
_source.changes
fi
done
done
# if push is activated
if
[[
${
DO_PUSH
}
&&
${
IS_RELEASE
}
]]
;
then
echo
" Doing commit"
git commit
-m
"[#1262] Released
${
SOFTWARE_VERSION
}
"
.
echo
" Pushing commit"
git push origin release
fi
#
if [[ ${DO_PUSH} && ${IS_RELEASE} ]];then
#
echo " Doing commit"
#
git commit -m "[#1262] Released ${SOFTWARE_VERSION}" .
#
#
echo " Pushing commit"
#
git push origin release
#
fi
# close file descriptor
exec
3>&-
...
...
This diff is collapsed.
Click to expand it.
tools/build-system/launchpad/dput.conf
+
18
−
4
View file @
0be07efe
[
sflphone
-
jaunty
]
#[sflphone-jaunty]
#fqdn = ppa.launchpad.net
#method = ftp
#incoming = ~savoirfairelinux/ppa/ubuntu/jaunty
#login = anonymous
#allow_unsigned_uploads = 0
#[sflphone-karmic]
#fqdn = ppa.launchpad.net
#method = ftp
#incoming = ~savoirfairelinux/ppa/ubuntu/karmic
#login = anonymous
#allow_unsigned_uploads = 0
[
sflphone
-
nightly
-
jaunty
]
fqdn
=
ppa
.
launchpad
.
net
method
=
ftp
incoming
= ~
julien
-
bonjean
/
ppa
/
ubuntu
/
jaunty
incoming
= ~
savoirfairelinux
/
sflphone
-
nightly
/
ubuntu
/
jaunty
login
=
anonymous
allow_unsigned_uploads
=
0
[
sflphone
-
karmic
]
[
sflphone
-
nightly
-
karmic
]
fqdn
=
ppa
.
launchpad
.
net
method
=
ftp
incoming
= ~
julien
-
bonjean
/
ppa
/
ubuntu
/
karmic
incoming
= ~
savoirfairelinux
/
sflphone
-
nightly
/
ubuntu
/
karmic
login
=
anonymous
allow_unsigned_uploads
=
0
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