Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Olena
olena
Commits
4c42b800
Commit
4c42b800
authored
May 10, 2010
by
Roland Levillain
Browse files
Upload only branches master and next, in their own directories.
* lrde-upload.sh: Here. Inspired from Vaucanson's lrde-upload.sh.
parent
68d80d9e
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
4c42b800
2010-05-10 Roland Levillain <roland@lrde.epita.fr>
Upload only branches master and next, in their own directories.
* lrde-upload.sh: Here.
Inspired from Vaucanson's lrde-upload.sh.
2010-04-29 Roland Levillain <roland@lrde.epita.fr>
Upload only the HTML version of the user reference manual.
...
...
lrde-upload.sh
View file @
4c42b800
...
...
@@ -5,13 +5,43 @@
set
-ex
DEST
=
/lrde/dload/olena/snapshots
# Layout of /lrde/dload/olena/snapshots:
#
# /lrde/dload/olena/snapshots
# |-- master
# | |-- doc
# | | `-- milena
# | | `-- ...
# | |-- olena-$VERSION-snapshot-master-$date.tar.bz2
# | `-- olena-$VERSION-snapshot-master-$date.tar.gz
# `-- next
# |-- doc
# | `-- milena
# | `-- ...
# |-- olena-$VERSION-snapshot-next-$date.tar.bz2
# `-- olena-$VERSION-snapshot-next-$date.tar.gz
# Buildbot will tell us the name of the branch being compiled using $1.
branch
=
$1
case
"
$branch
"
in
# Consider these branches only.
master|next
)
;;
# Don't upload other branches.
*
)
exit
;;
esac
subdir
=
$branch
suffix
=
snapshot-
$branch
DEST
=
/lrde/dload/olena/snapshots/
$subdir
DEST_DOC
=
$DEST
/doc/milena
# Retrieve the package version
VERSION
=
`
autoconf
--trace
=
'AC_INIT:$2'
`
CURRENT_DATE
=
`
date
+
'%d_%m_%y'
`
REV
=
$VERSION
-snapshot-
$CURRENT_DATE
date
=
`
date
+
'%Y-%m-%d'
`
REV
=
$VERSION
-
$suffix
-
$date
# Always do "cp then mv" when uploading the file, so that nobody
# can start a download while the destination file is incomplete.
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment