Commit Graph

43 Commits

Author SHA1 Message Date
Laurent Rineau 8a09fdabdf Tricks with file descriptors, so that I can receive by email (sended by
crond) the warnings about conflicting files.
2008-09-26 10:24:43 +00:00
Laurent Rineau 487541cf0e Commit several improvement i made:
- New option --do-not-tag that allows to using the script with --do-it
  without creating the tag.
- The script no longer sends emails for a long time. Update the usage
  text and remove the no longer used variable MAILTO.
- The script now reads a configuration file, named
  $HOME/.cgal_create_new_release_rc
  For example, mine contains:
    TMPDIR=$HOME/CGAL/create_internal_release
    HTML_DIR=/var/CGAL/www/Members/Releases
- The script now uses and absolute path for SOURCES_DIR.
- If the file ${VERSION_FILE} (aka "version_number") is not present,
  use svn to compute a new release number.
2008-03-13 14:01:32 +00:00
Sylvain Pion a467612e9a Rename Packages to package_info 2007-12-03 22:45:12 +00:00
Sylvain Pion f69bd58811 Just discovered that sed has a practical "-i" option to edit files in place. 2007-05-04 10:15:40 +00:00
Sylvain Pion ca0b98ef1d Fix VERSION file in public tarballs. 2007-05-04 09:34:04 +00:00
Sylvain Pion 6cd197df85 Darwin porting 2007-03-10 17:47:19 +00:00
Laurent Rineau 1cf3971452 - fix creation of the source RPM.
- new option --verbose, to set log to std out instead of the logfile
- do not try to remove files of the public release, if $DO_PUBLIC is empty.
2007-01-31 18:40:02 +00:00
Sylvain Pion 6ab2e23c59 Cleanup : replace all log redirections " >> ${LOGFILE} 2>&1 " by a unique
"exec" command (thanks for the hint from an anonymous developer).
2007-01-24 15:58:22 +00:00
Laurent Rineau ec68e6c9f9 Fix the src.rpm generation. 2007-01-24 15:37:19 +00:00
Sylvain Pion afa01f1d5d web files are now on agrion instead of bombyx (redirects make it transparent). 2006-12-19 13:17:02 +00:00
Sylvain Pion 0690df2a39 Update cgal-develop mail adress.
And comment out mail sending, as I doubt it's that useful.
2006-08-25 06:56:28 +00:00
Laurent Rineau db20bb4393 Revert revision 32553.
And modify "define internal_release.*" to 
"define +internal_release +[0-9]+".
2006-07-17 15:59:15 +00:00
Laurent Rineau 91074e07b4 Change the way of specifying the internal release number, for RPMS. 2006-07-17 12:33:44 +00:00
Sylvain Pion c8b5db64c9 - Add better command-line parsing code
- Add a "--public" option that selects building of public versions.
  (so it's disabled by default)
2006-07-14 09:32:35 +00:00
Sylvain Pion 21db610b9f Adding the "--rpm" option, and it is necessary to build the SRPMs. 2006-07-14 08:43:58 +00:00
Sylvain Pion 28b8819f3e Add an option to not require the version_number file,
and if not there, assume "0" as internal version number.
2006-07-14 08:21:32 +00:00
Sylvain Pion f9fd5fd680 Add command-line options:
--help
  --do-it
2006-07-12 12:50:03 +00:00
Sylvain Pion 5a1d4b985b - Create a new file $CGAL/VERSION which contains the version
number and no carriage return.
- Use it in install_cgal instead of parsing <CGAL/version.h>.
2006-07-12 10:01:06 +00:00
Sylvain Pion 4e5bf788d5 Use `pwd` instead of /home/spion/... 2006-07-12 09:28:01 +00:00
Sylvain Pion b28e8a422d Remove building of doc_pdf/Installation.pdf in the public
versions of the releases.  Updates some files mentioning it.
2006-07-06 07:43:40 +00:00
Laurent Rineau ed49473c10 Fix the handling of internal release numbers, in the rpm spec.
I should be more robust, now.
2006-07-01 20:55:13 +00:00
Sylvain Pion 3f05673fa2 Remove old public/internal distinction. 2006-05-21 23:24:54 +00:00
Sylvain Pion cb0f309615 Remove packages_file and scriptdir options (probably useless)
Allow another directory than trunk.
2006-05-21 21:24:21 +00:00
Sylvain Pion b65115eb5f Save Installation.pdf compilation log file. 2006-05-20 21:42:49 +00:00
Sylvain Pion 2e7505dbb7 Move release creation script to a Fedora machine.
(to fix Installation.pdf)
2006-05-19 10:15:50 +00:00
Sylvain Pion dbe3898896 - Add the build of doc_pdf/Installation.pdf to public releases (.tar.gz, .zip
and .srpm).
- Switch back to non-testing mode.
2006-05-15 17:56:26 +00:00
Sylvain Pion 7689325a68 Add a variable selecting "local testing only" (without side-effects like
putting stuff on the web, sending announcement mail, svn commits...).
2006-05-15 17:10:18 +00:00
Sylvain Pion 0786ab3e1a Generate SRPM for the public version as well. 2006-05-05 09:47:41 +00:00
Sylvain Pion 4102c29324 Fix sed command used to patch version.h
Run zip in quiet mode, -q.
2006-04-30 17:14:59 +00:00
Sylvain Pion 61e76fd96d Add CGAL_SVN_REVISION macro to version.h . 2006-04-28 22:41:30 +00:00
Sylvain Pion 2fc4dccc8a Create a zip file as well for the public version of releases. 2006-04-28 21:30:20 +00:00
Sylvain Pion 755f122b98 make LOGFILE use an absolute path to protect against "cd". 2006-04-28 20:52:06 +00:00
Sylvain Pion a6bbefaad3 Add creation of public version of each internal release. 2006-04-28 17:20:14 +00:00
Sylvain Pion 2021a35edf SRPM fixlets. 2006-04-27 14:03:15 +00:00
Sylvain Pion 2480e17ac9 Fixes for .src.rpm. 2006-04-23 19:31:40 +00:00
Sylvain Pion eef321a737 Create the SRPM of the tarball, and put its name in LATEST_SRPM on the web. 2006-04-22 21:45:44 +00:00
Sylvain Pion 85ef504a20 Fix the LOGFILE name, which used to depend on the release number. 2006-04-17 19:53:45 +00:00
Sylvain Pion e71eb17d39 Pass the svn dir name as argument (default is "trunk") 2006-04-17 18:51:07 +00:00
Sylvain Pion 2c5c2ad1fe Move the definition of the major/minor/bugfix release numbers out
of the create_new_release script, into their own files.
2006-04-17 13:54:58 +00:00
Sylvain Pion 92858051ea Pick create_internal_release from the SVN tree as well, as
${SOURCES_DIR}/Scripts/developer_scripts/create_internal_release
2006-04-17 13:25:48 +00:00
Sylvain Pion 82f07d6c16 - cleanups thanks to SVN move
- remove diff creations (probably useless)
- use exact release name as tag name
  (removal of "-" and "." is not needed by SVN).
2006-03-21 22:47:19 +00:00
Sylvain Pion cc1296886b Update release scripts for SVN 2006-02-14 14:50:21 +00:00
Laurent Saboret a9faefad24 Move packages to trunk root 2006-02-14 08:58:19 +00:00