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
a2e9e861
Commit
a2e9e861
authored
15 years ago
by
Julien Bonjean
Browse files
Options
Downloads
Patches
Plain Diff
[#1785] Fixed changelog update
parent
964b8304
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/build-system/launch-build-machine.sh
+18
-23
18 additions, 23 deletions
tools/build-system/launch-build-machine.sh
with
18 additions
and
23 deletions
tools/build-system/launch-build-machine.sh
+
18
−
23
View file @
a2e9e861
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
# Author: Julien Bonjean (julien@bonjean.info)
# Author: Julien Bonjean (julien@bonjean.info)
#
#
# Creation Date: 2009-04-20
# Creation Date: 2009-04-20
# Last Modified: 2009-07-03 16:
35:11
-0400
# Last Modified: 2009-07-03 16:
47:28
-0400
#####################################################
#####################################################
#
#
...
@@ -30,6 +30,9 @@ SCP_BASE="scp ${SSH_OPTIONS} -r -P 50001"
...
@@ -30,6 +30,9 @@ SCP_BASE="scp ${SSH_OPTIONS} -r -P 50001"
# home directory
# home directory
ROOT_DIR
=
"/home/projects/sflphone"
ROOT_DIR
=
"/home/projects/sflphone"
# local hidden repository (only for changelog commit)
LOCAL_REPOSITORY
=
${
ROOT_DIR
}
/.sflphone-repository
# gpg passphrase file
# gpg passphrase file
GPG_FILE
=
"
${
ROOT_DIR
}
/.gpg-sflphone"
GPG_FILE
=
"
${
ROOT_DIR
}
/.gpg-sflphone"
...
@@ -240,26 +243,28 @@ if [ ${DO_PREPARE} ]; then
...
@@ -240,26 +243,28 @@ if [ ${DO_PREPARE} ]; then
fi
fi
echo
"Version is :
${
VERSION
}
"
echo
"Version is :
${
VERSION
}
"
# if push is activated
# generate the changelog, according to the distribution and the git commit messages
if
[
${
DO_PUSH
}
]
;
then
echo
"Update debian changelogs"
cd
${
REPOSITORY_DIR
}
# first changelog generation for commit
${
SCRIPTS_DIR
}
/sfl-git-dch.sh
${
VERSION
}
${
RELEASE_MODE
}
echo
"Update debian changelogs (1/2)"
if
[
"
$?
"
-ne
"0"
]
;
then
${
SCRIPTS_DIR
}
/sfl-git-dch.sh
${
VERSION
}
${
RELEASE_MODE
}
echo
"!! Cannot update debian changelogs"
exit
-1
fi
if
[
"
$?
"
-ne
"0"
]
;
then
# if push is activated
echo
"!! Cannot update debian changelogs"
if
[
${
DO_PUSH
}
&&
${
RELEASE_MODE
}
]
;
then
exit
-1
fi
echo
" Doing commit"
echo
" Doing commit"
cd
${
REPOSITORY
_DIR
}
cd
${
LOCAL_
REPOSITORY
}
git commit
-m
"[#1262] Updated debian changelogs (
${
VERSION
}
)"
.
git commit
-m
"[#1262] Updated debian changelogs (
${
VERSION
}
)"
.
echo
" Pushing commit"
echo
" Pushing commit"
git push origin master
git push origin master
cd
-
fi
fi
# change current branch if needed
# change current branch if needed
...
@@ -269,17 +274,7 @@ if [ ${DO_PREPARE} ]; then
...
@@ -269,17 +274,7 @@ if [ ${DO_PREPARE} ]; then
else
else
echo
"Using master branch"
echo
"Using master branch"
fi
fi
# generate the changelog, according to the distribution and the git commit messages
echo
"Update debian changelogs (2/2)"
cd
${
REPOSITORY_DIR
}
${
SCRIPTS_DIR
}
/sfl-git-dch.sh
${
VERSION
}
${
RELEASE_MODE
}
if
[
"
$?
"
-ne
"0"
]
;
then
echo
"!! Cannot update debian changelogs"
exit
-1
fi
echo
"Write version numbers for following processes"
echo
"Write version numbers for following processes"
echo
"
${
VERSION
}
"
>
${
REPOSITORY_DIR
}
/sflphone-common/VERSION
echo
"
${
VERSION
}
"
>
${
REPOSITORY_DIR
}
/sflphone-common/VERSION
echo
"
${
VERSION
}
"
>
${
REPOSITORY_DIR
}
/sflphone-client-gnome/VERSION
echo
"
${
VERSION
}
"
>
${
REPOSITORY_DIR
}
/sflphone-client-gnome/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