source: trunk/prepare_new_stable @ 2357

Last change on this file since 2357 was 2357, checked in by stefan, 8 years ago

try to fix setup of numeric version number in prepare_new_stable

  • Property svn:executable set to *
File size: 21.2 KB
Line 
1#!/bin/sh
2
3# Copyright (C) 2007  International Business Machines.
4# All Rights Reserved.
5# This file is distributed under the Eclipse Public License.
6# It is part of the BuildTools project in COIN-OR (www.coin-or.org)
7#
8# $Id$
9#
10# Adapted from prepare_new_release by Lou Hafer, SFU, 100507.
11
12#set -x -v
13set -e
14
15# Know thy self. If there are no '/' chars in the command name, we're running
16# in the current directory. Otherwise, strip the command name, leaving the
17# prefix.  Coin-functions is expected to live in the same directory.
18
19if expr "$0" : '.*/.*' >/dev/null 2>&1 ; then
20  cmdDir=`echo $0 | sed -e 's,\(.*\)/[^/]*,\1,'`
21else
22  cmdDir='.'
23fi
24cmdDir=`cd $cmdDir ; pwd`
25if test -r $cmdDir/coin-functions ; then
26  . $cmdDir/coin-functions
27else
28  echo "Cannot find utility functions file coin-functions; exiting."
29fi
30#################### end of function definitions ##########################
31
32
33# Note that plain sh does not accept negative exit values
34
35exitValue=0
36
37# Specify the COIN URL base for convenience.
38
39coinURL="https://projects.coin-or.org/svn"
40
41# Begin parameter processing.
42
43printHelp=0
44ignoreBuildToolsMismatch=no
45mismatchBTExternals=
46bumpMajor=0
47suppressCheckout=0
48
49# srcURL will be the parent for the stable we are building. We'll need to be
50# able to distinguish ThirdParty and Data builds, and BuildTools itself; they
51# require special handling.  cmdBTURL points to a BuildTools source and is
52# required when srcURL specifies a ThirdParty or Data project --- we'll need to
53# assemble a temporary package while creating the stable candidate.
54
55srcURL=
56isThirdParty=no
57isData=no
58isBuildTools=no
59cmdBTURL=
60
61# trunkExternals specifies externals for which we want to do simultaneous
62# creation of stable branches. We will use the trunk as the external while
63# preparing and testing the stable candidate, changing the Dependencies file
64# to specify a (nonexistent) stable branch of the external at the last moment.
65
66trunkExternals=
67
68# exciseExternals specifies externals that should be removed when creating the
69# new stable branch.
70
71exciseExternals=
72
73# We need at least one parameter.
74
75if test "$#" -eq 0; then
76  printHelp=1
77else
78
79# Process the parameters. A parameter without an opening `-' is assumed to be
80# the spec for the source branch.
81
82  while test $# -gt 0 && test $exitValue = 0 && test $printHelp = 0 ; do
83    case "$1" in
84      -h* | --h*) printHelp=1 ;;
85      -i* | --i*)
86           if expr "$1" : '.*-i.*=.*' 2>&1 >/dev/null ; then
87             mismatchBTExternals=`echo $1 | sed -n -e 's/[^=]*=\(.*\)/\1/p'`
88           else
89             shift
90             mismatchBTExternals=$1
91           fi
92           if test "x$mismatchBTExternals" = "xall" ; then
93             ignoreBuildToolsMismatch=all
94           else
95             ignoreBuildToolsMismatch=partial
96           fi
97           ;;
98      -m* | --m*) bumpMajor=1 ;;
99      -p* | --p*) suppressCheckout=1 ;;
100      -t* | --t*)
101           if expr "$1" : '.*-t.*=.*' 2>&1 >/dev/null ; then
102             trunkExternals=`echo $1 | sed -n -e 's/[^=]*=\(.*\)/\1/p'`
103           else
104             shift
105             trunkExternals=$1
106           fi
107           ;;
108      -x* | --x*)
109           if expr "$1" : '.*-x.*=.*' 2>&1 >/dev/null ; then
110             exciseExternals=`echo $1 | sed -n -e 's/[^=]*=\(.*\)/\1/p'`
111           else
112             shift
113             exciseExternals=$1
114           fi
115           ;;
116      -b* | --b*)
117           if expr "$1" : '.*-b.*=.*' 2>&1 >/dev/null ; then
118             cmdBTURL=`echo $1 | sed -n -e 's/[^=]*=\(.*\)/\1/p'`
119           else
120             shift
121             cmdBTURL=$1
122           fi
123           if expr "$cmdBTURL" : '.*BuildTools.*' 2>&1 >/dev/null ; then
124             case $cmdBTURL in
125               http*) ;;
126                   *) cmdBTURL=${coinURL}/$cmdBTURL
127                      ;;
128             esac
129           else
130             echo ''
131             echo "URL $cmdBTURL does not point to BuildTools."
132             echo ''
133             printHelp=1
134             exitValue=3
135            fi
136           ;;
137      -*)  echo "$0: unrecognised command line switch '"$1"'."
138           printHelp=1
139           exitValue=1
140           ;;
141       *)  srcURL=$1
142           case $srcURL in
143             http* ) ;;
144             BuildTools/ThirdParty/* )
145                 srcURL=${coinURL}/$srcURL
146                 ;;
147             ThirdParty/* )
148                 srcURL=${coinURL}/BuildTools/$srcURL
149                 ;;
150             * ) srcURL=${coinURL}/$srcURL
151                    ;;
152           esac
153           ;;
154    esac
155    shift
156  done
157
158# Consistency check: Make sure that the source URL exists.  Note that it's not
159# possible to specify a Data URL without including trunk/stable/release in the
160# URL. For others, helpfully append `trunk'.
161
162  srcURL=`echo $srcURL | sed -e 's/\/$//'`
163  urlType=`extractTypeFromURL "$srcURL"`
164  if test $printHelp = 0 && test $exitValue = 0 ; then
165    if svn list $srcURL 2>&1 >/dev/null ; then
166      :
167    else
168      echo "Source URL $srcURL does not seem to exist."
169      printHelp=1
170      exitValue=5
171    fi
172    if test "$urlType" = invalid ; then
173      srcURL=$srcURL/trunk
174      urlType=trunk
175    fi
176  fi
177
178# Just what are we building? Order is important; BuildTools without ThirdParty
179# means we're actually doing a BuildTools stable.
180
181  if test $printHelp = 0 && test $exitValue = 0 ; then
182    case $srcURL in
183      *ThirdParty* )
184        isThirdParty=yes
185        ;;
186      *BuildTools* )
187        isBuildTools=yes
188        ;;
189      *Data* )
190        isData=yes
191        ;;
192      *)
193        ;;
194    esac
195
196# If we're building a ThirdParty or Data release, we need a BuildTools URL.
197
198    if test $isThirdParty = yes || test $isData = yes ; then
199      if test -z "$cmdBTURL" ; then
200        cmdBTURL=`bestRelease $coinURL/BuildTools -1 -1`
201        echo "A BuildTools URL is required for Data or ThirdParty projects."
202        echo "Using $cmdBTURL; override with -b"
203      else
204        if svn list $cmdBTURL 2>&1 >/dev/null ; then
205          :
206        else
207          echo "BuildTools URL $cmdBTURL does not seem to exist."
208          printHelp=1
209          exitValue=6
210        fi
211      fi
212    fi
213  fi
214fi  # if "$#" .eq 0
215
216if test $printHelp = 1 ; then
217  cat <<EOF
218Usage: prepare_new_stable [options] <source URL>
219
220This script will create a new stable branch from the head of the specified
221URL. Typically this will be the trunk, but it can be an existing stable
222branch.  You can specify the entire URL, or just enter what comes after
223"https://projects.coin-or.org/svn".  A typical example is
224
225  prepare_new_stable Ipopt/trunk
226
227Options:
228  -b <BuildToolsURL>    URL for BuildTools; required to generate a release
229                        for a ThirdParty or Data project.
230  -i <projectlist>      Ignore BuildTools version mismatches for the listed
231                        externals (comma-separated list of project names,
232                        e.g., -i Osi,Cbc). '-i all' ignores all mismatches.
233  -p                    Suppress checkout (useful for testing)
234  -m                    Bump the major version number.
235  -t <project-list>     Suppress conversion from trunk to stable for the
236                        listed externals (comma-separated list of project
237                        names).
238  -x <project-list>     Remove the listed projects from the list of externals
239                        (comma-separated list of project names).
240
241This script will do the following:
242
243  - Set the new stable version number as the next minor version number in
244    the current major version number. Use the -m flag to bump the major
245    version number.
246
247  - Convert externals from trunk to the top stable branch. Externals which
248    are currently stable or release are left untouched. Use -t to suppress
249    the change from trunk to stable. Set_externals is then invoked to set
250    release externals where available.
251
252  - Check out externals. The BuildTools version used by externals (if any)
253    is checked, and the script issues a warning if it doesn't match the
254    version used by the source URL.
255
256  - Run the scripts to download any ThirdParty code.
257
258  - Run run_autotools to rebuild configure and make files.
259
260  - Run configure, make, and make test
261
262  - Tweak the externals to upgrade trunk (-t) dependencies to stable (you
263    won't get to release in this case).
264
265If there is any error during these tasks the script will stop and you should
266examine the output.
267
268If the script completes without error, examine the output, particularly the
269output of the unit test ('make test') and the set of externals specified in
270the Dependencies file. Whether you start with Externals or Dependencies, the
271stable will have a proper Dependencies. Externals will be unmodified.
272
273This script does not make any changes to the repository.  If you want to
274commit the new stable branch, run the "commit_new_stable" script, as described
275at the end of the output.
276
277EOF
278fi
279
280if test $exitValue != 0 || test $printHelp = 1 ; then
281  exit $exitValue
282fi
283
284# End of parameter parsing. We have a source URL to work with.  Tell the
285# user what we've seen.
286
287srcURL=`echo $srcURL | sed -e 's|/$||'`
288srcProj=`extractProjFromURL $srcURL`
289
290echo "Source URL..........: $srcURL"
291echo "Base project........: $srcProj"
292if test $isThirdParty = yes || test $isData = yes ; then
293  echo "BuildTools URL......: $cmdBTURL"
294fi
295
296# Figure out the URL of the new stable branch. Consider that there may not be
297# any existing stable branches.
298
299topStableURL=`bestStable $srcURL -1`
300echo "Top stable URL......: ${topStableURL:-none}"
301
302if test -z "$topStableURL" ; then
303  majVer=0
304  minVer=1
305  case "$srcURL" in
306    */Data/* )
307        newStableURL=$coinURL/Data/stable/$majVer.$minVer/$srcProj
308        ;;
309    */ThirdParty/* )
310        newStableURL=$coinURL/BuildTools/ThirdParty/$srcProj/stable/$majVer.$minVer
311        ;;
312    * )
313        newStableURL=$coinURL/$srcProj/stable/$majVer.$minVer
314        ;;
315  esac
316else
317  majVer=`extractMajorFromURL $topStableURL`
318  if test $bumpMajor = 1 ; then
319    majVer=`expr $majVer + 1`
320    minVer=0
321  else
322    minVer=`extractMinorFromURL $topStableURL`
323    minVer=`expr $minVer + 1`
324  fi
325  newStableURL=`replaceVersionInURL $topStableURL $majVer $minVer`
326fi
327echo "New stable URL......: $newStableURL"
328newVersion=${majVer}.${minVer}
329
330# Construct a build directory name.
331
332topBuildDir=`echo $srcProj | sed -e 's|.*/\([^/]*\)$|\1|'`
333topBuildDir=${topBuildDir}-${newVersion}
334echo "Build directory.....: $topBuildDir"
335
336# Now decide where to check out code.
337
338if test $isThirdParty = yes; then
339  coDir=$topBuildDir/Thirdparty/$srcProj
340elif test $isData = yes; then
341  coDir=$topBuildDir/Data/$srcProj
342else
343  coDir=$topBuildDir
344fi
345echo "Checkout directory..: $coDir"
346
347echo ''
348echo "===> Checking out source $srcURL without externals ..."
349echo ''
350
351cmd="svn co --ignore-externals $srcURL $coDir"
352if test $suppressCheckout = 1 ; then
353  echo "Pretending to do: $cmd"
354else
355  rm -rf $topBuildDir
356  echo $cmd
357  eval $cmd
358fi
359
360if test $isThirdParty = yes || test $isData = yes; then
361  echo ''
362  echo '===> Checking out BuildTools (Data or ThirdParty) ...'
363  echo ''
364  cmd="svn co $cmdBTURL $topBuildDir/BuildTools"
365  if test $suppressCheckout = 1 ; then
366    echo "Pretending to do: $cmd"
367  else
368    echo $cmd
369    eval $cmd
370  fi
371fi
372
373startDir=`pwd`
374coDir=`cd $coDir; pwd`
375topBuildDir=`cd $topBuildDir; pwd`
376
377cd $coDir
378
379# Find configure.ac files for the package and project and update the version.
380# We have no externals at this point, and no third-party code, so there will
381# be two files for a standard project, one for a ThirdParty or Data project.
382
383echo ''
384bak_files=`find . -name 'configure.ac'`
385echo "===> Creating backup (.bak) for configure.ac files..."
386for i in $bak_files; do
387  cp $i $i.bak
388done
389
390# Take the attitude that [] around parameters in AC_INIT is optional,
391# it's the commas that count. This does make for a surpassing ugly regular
392# expression.  A comma in the version string will cause a spectacular failure.
393# In AC_COIN_PROJECTDIR_INIT, take the attitude that the existing parameters
394# don't matter, we know what the release parameters should be.
395
396echo ''
397echo "===> Updating version numbers in configure.ac files"
398for i in $bak_files; do
399  sed -e "s|AC_INIT\(.*\),\(\[*\)[^],]*\(\]*\),\(.*\)|AC_INIT\1,\2$newVersion\3,\4|" $i > bla
400  mv bla $i
401  svn diff $i
402done
403
404# Find config_proj_default.h. If there's a definition for PROJ_VERSION, adjust it and
405# add config_proj_default.h.bak to the list of files to be restored.
406
407srcProjUC=`echo $srcProj | tr '[a-z]' '[A-Z]'`
408configFileLoc=`find . -name .svn -prune -o -name 'config_*_default.h' -print`
409if test -n "$configFileLoc" ; then
410  versionSym=${srcProjUC}_VERSION
411  echo ''
412  echo "===> Updating $versionSym in $configFileLoc (if present)"
413  echo ''
414  mv $configFileLoc $configFileLoc.bak
415  bak_files="$bak_files $configFileLoc"
416  sed -e "s/# *define $versionSym .*\$/#define $versionSym \"$newVersion\"/" \
417    -e "s/# *define ${versionSym}_MAJOR .*\$/#define ${versionSym}_MAJOR $majVer/" \
418    -e "s/# *define ${versionSym}_MINOR .*\$/#define ${versionSym}_MINOR $minVer/" \
419    -e "s/# *define ${versionSym}_RELEASE .*\$/#define ${versionSym}_RELEASE 9999/" \
420  <$configFileLoc.bak >$configFileLoc
421  svn diff $configFileLoc
422fi
423
424# Now generate a proper Dependencies file for the stable branch.  References to
425# trunk will be converted to references to stable branches unless the reference
426# is to a project in the trunkExternals list (in which case it'll be converted
427# at the very end). References to releases are not changed. Each line in a
428# Dependencies file has the format <ext_name> <ext_url>. Normally, each entry
429# should be a stable branch.
430
431srcDepFile=
432for file in Dependencies Externals ; do
433  if test -r $file ; then
434    srcDepFile=$file
435    break
436  fi
437done
438
439if test -n "$srcDepFile" ; then
440
441# Save the externals property of the source, so we can just restore it after
442# the commit. Also save srcDepFile, because we may well modify it for the
443# stable branch, converting trunk externals to stable externals.
444
445  svn propget svn:externals . > .Externals.original
446  bak_files="$bak_files $srcDepFile"
447  cp $srcDepFile $srcDepFile.bak
448
449  echo ''
450  echo "===> Checking externals in $srcDepFile ..."
451  echo ''
452
453# We've just checked this out, no sense going back to the server for the
454# BuildTools version. Because of the intermediate variable, newline has
455# become space.
456
457  srcExternals=`svn propget svn:externals .`
458  srcBTURL=`echo $srcExternals | \
459            sed -n -e 's/.*BuildTools *https:\([^ ]*\) .*/https:\1/p'`
460  if test -z "$srcBTURL" ; then
461    srcBTURL="none"
462  fi
463  echo "Source BuildTools...:  $srcBTURL"
464
465  rm -f Dependencies
466  ext_name=
467  ext_url=
468  buildtoolsMismatch=0
469  for i in `cat $srcDepFile.bak` ; do
470    if test "$ext_name" = "" ; then
471      ext_name=$i
472    else
473      ext_url=$i
474      if expr "$ext_name" : '#.*' 2>&1 >/dev/null ; then
475        echo "    $ext_name $ext_url ==> skipped"
476        ext_name=
477        continue
478      fi
479      ext_urltype=`extractTypeFromURL $ext_url`
480      ext_proj=`extractProjFromURL $ext_url`
481
482# See if this external should be dropped.
483
484      if expr "$exciseExternals" : '.*'$ext_proj'.*' 2>&1 > /dev/null ; then
485        echo "    $ext_name $ext_url ==> excised"
486        ext_name=
487        continue
488      fi
489
490      ext_isNormalURL=`isNormalURL $ext_url`
491
492# Convert a trunk URL to stable unless it's listed in trunkExternals.
493
494      if test $ext_urltype = trunk ; then
495        if expr "$trunkExternals" : '.*'$ext_proj'.*' 2>&1 >/dev/null ; then
496          echo "    $ext_name $ext_url ==> unchanged"
497        else
498          ext_oldurl=$ext_url
499          ext_url=`bestStable $ext_url -1`
500          # Normal (not BuildTools/ThirdParty/Data) need a directory name,
501          # and it may differ from the project name. Carefully preserve it.
502          if test $ext_isNormalURL = yes ; then
503            ext_tail=`extractTailFromExt $ext_oldurl`
504            ext_url=${ext_url}${ext_tail}
505          fi
506          echo "    $ext_name $ext_oldurl ==> $ext_url"
507        fi
508      else
509        echo "    $ext_name $ext_url ==> unchanged"
510      fi
511
512# Get the BuildTools URL for the external and compare to the BuildTools URL
513# for the source, assuming we have one and the external has one.
514
515      if test $ext_isNormalURL = yes &&
516         test $ext_proj != BuildTools && test $srcBTURL != none ; then
517        ext_url_notail=`echo $ext_url | sed -e 's,/[^/]*$,,'`
518        extBTURL=`svn propget svn:externals $ext_url_notail`
519        extBTURL=`echo $extBTURL | \
520          sed -n -e 's/^BuildTools *https:\([^ ]*\) *$/https:\1/p'`
521        if test -n "$extBTURL" ; then
522          testResult=`compareURLVersions "$srcBTURL" "$extBTURL"`
523          if test $testResult = no ; then
524            if test $ignoreBuildToolsMismatch = all || \
525               expr "$mismatchBTExternals" : '.*'$ext_proj'.*' 2>&1 >/dev/null ; then
526              echo "    WARNING: BuildTools mismatch: $ext_url_notail uses $extBTURL"
527            else
528              buildtoolsMismatch=1
529              echo "    ERROR: BuildTools mismatch: $ext_url_notail uses $extBTURL"
530            fi
531          fi
532        fi
533      fi
534
535      echo "$ext_name  $ext_url" >>Dependencies
536      ext_name=
537      echo ''
538    fi
539  done
540
541# If we have a BuildTools mismatch, exit.
542
543  if test $buildtoolsMismatch = 1 ; then
544    echo "Exiting due to BuildTools mismatches; use -i to ignore."
545    exit 2
546  fi
547
548  $cmdDir/set_externals Dependencies
549
550# Try three times to check out externals before conceding defeat.
551
552  echo ''
553  echo '===> Checking out externals ...'
554  echo ''
555
556  svn update ||
557  { echo "Retry 1 ... " ; svn update ; } ||
558  { echo "Retry 2 ... " ; svn update ; } ||
559  { echo "Checkout of externals failed. Aborting." ; exit 3 ; }
560
561# Run any scripts to acquire ThirdParty code.
562
563  if test -d ThirdParty ; then
564
565    echo ''
566    echo '===> Downloading ThirdParty code ...'
567    echo ''
568   
569    ext_name=
570    ext_url=
571    for i in `svn propget svn:externals .` ; do
572      if test -z "$ext_name" ; then
573        ext_name=$i
574      else
575        ext_url=$i
576        if expr "$ext_name" : 'ThirdParty/.*' 2>&1 >/dev/null ; then
577          cd $ext_name
578          ext_proj=`extractProjFromURL $ext_url`
579          getScript=get.$ext_proj
580          if test -x "$getScript" ; then
581            ./$getScript -patch
582          fi
583          cd $coDir
584        fi
585        ext_name=
586      fi
587    done
588  fi
589fi
590
591
592# Done processing externals. If this is a ThirdParty project, we still have
593# to run the get script.
594
595if test $isThirdParty = yes; then
596  if test -x get.$srcProj ; then
597    echo ''
598    echo '===> Downloading third party code...'
599    echo ''
600    ./get.$srcProj
601  fi
602fi
603
604# Run the autotools to update configure and make files
605
606echo ''
607echo '===> Running BuildTools/run_autotools ...'
608echo ''
609
610if test $isThirdParty = yes || test $isData = yes ; then
611  cd ../..
612  ./BuildTools/run_autotools
613  cd "$coDir"
614else
615  ./BuildTools/run_autotools
616fi
617
618# Let's see if it works. We only run tests for non-ThirdParty, non-Data. DO NOT
619# turn on --enable-maintainer-mode in the initial configure command. At the
620# least, it's not needed. At the worst, as of 100526, it'll undo all the
621# careful work above to set externals.
622
623if test $isThirdParty != yes && test $isData != yes; then (
624   set -e
625   echo ''
626   echo '===> Creating build directory and running the configuration script...'
627   echo ''
628   mkdir build
629   cd build
630   cmd="$coDir/configure -C"
631   echo $cmd
632   eval $cmd
633   echo ''
634   echo '===> Compiling code...'
635   echo ''
636   cmd='make install'
637   echo $cmd
638   eval $cmd
639   echo ''
640   echo '===> Running the unit test...'
641   echo ''
642   echo '*******************************************************************************'
643   echo '***                                                                         ***'
644   echo '***                       BEGIN OUTPUT OF MAKE TEST                         ***'
645   echo '***                                                                         ***'
646   echo '*******************************************************************************'
647   echo ''
648   cmd='make test'
649   echo $cmd
650   eval $cmd
651   echo ''
652   echo '*******************************************************************************'
653   echo '***                                                                         ***'
654   echo '***                        END OUTPUT OF MAKE TEST                          ***'
655   echo '***                                                                         ***'
656   echo '*******************************************************************************'
657  )
658  if test $? != 0; then
659    echo ''
660    echo 'Error during build or test'
661    echo ''
662    exit 3
663  fi
664fi
665
666# No fatal errors. Declare victory.
667
668echo ''
669echo '===> ALL TESTS PASSED'
670if test $isThirdParty != yes &&
671   test $isData != yes && test $isBuildTools != yes ; then
672  echo ''
673  echo 'Please review the output above, particularly the one of make test'
674fi
675echo ''
676
677# Do we need to plug in nonexistent stable branches for circular dependencies
678# tested with the trunk? If so, generate a new Dependencies. This is the only
679# reason trunk references should appear in the externals for a stable branch,
680# so we don't need to check further before removing them.
681
682if test -n "$trunkExternals" ; then
683  echo ''
684  echo "===> Grooming externals to remove trunk references used for testing."
685  echo ''
686  mv Dependencies Dependencies.temp.$$
687  ext_name=
688  ext_url=
689  for i in `cat Dependencies.temp.$$`; do
690    if test "$ext_name" = ""; then
691      ext_name="$i"
692    else
693      ext_url=$i
694      ext_urltype=`extractTypeFromURL $ext_url`
695      ext_proj=`extractProjFromURL $ext_url`
696      if test $ext_urltype = trunk ; then
697        ext_oldurl=$ext_url
698        ext_url=`bestStable $ext_url -1`
699        ext_majVer=`extractMajorFromURL $ext_url`
700        ext_minVer=`extractMinorFromURL $ext_url`
701        ext_minVer=`expr $ext_minVer + 1`
702        ext_url=`replaceVersionInURL $ext_url $ext_majVer $ext_minVer`
703        ext_isNormal=`isNormalURL $ext_url`
704        if test $ext_isNormal = yes ; then
705          ext_url="${ext_url}${ext_proj}"
706        fi
707        echo "    $ext_name $ext_oldurl ==> $ext_url"
708      fi
709      echo "$ext_name  $ext_url" >>Dependencies
710      ext_name=
711    fi
712  done
713  rm -f Dependencies.temp.$$
714  $cmdDir/set_externals Dependencies
715fi
716
717if test -r Dependencies ; then
718  echo ''
719  echo 'Also, please confirm the Externals are correct:'
720  svn propget svn:externals
721fi
722
723echo ''
724echo 'After reviewing the output above, you can create a new stable by going into'
725echo 'the directory'
726echo ''
727echo "          $startDir"
728echo ''
729echo "and run the commit_new_stable script"
730
731cd $topBuildDir
732
733# Record information for the commit_new_stable script.
734
735cat >.new_stable_data <<EOF
736coinURL=$coinURL
737startDir=$startDir
738topBuildDir=$topBuildDir
739coDir=$coDir
740newStableURL=$newStableURL
741srcURL=$srcURL
742newVersion=$newVersion
743bak_files="$bak_files"
744EOF
Note: See TracBrowser for help on using the repository browser.