Home | History | Annotate | Download | only in maintainer-scripts

Lines Matching refs:RELEASE

10 #   Script to create a GCC release.
41 # This script will automatically use the head of the release branch
42 # to generate the release.
66 gcc_release -r release [-f] [further options]
71 -r release Version of the form X.Y or X.Y.Z.
72 -s name:gitbranch Create a snapshot, not a real release.
74 -d destination Local working directory where we will build the release
76 -f Create a final release (and update ChangeLogs,...).
79 -t tag Tag to mark the release in git.
93 # Build the source tree that will be the basis for the release
94 # in ${WORKING_DIRECTORY}/gcc-${RELEASE}.
110 error "Could not check out release sources"
113 error "Could not check out release sources"
116 # If this is a final release, make sure that the ChangeLogs
123 error "New release not listed in contrib/gennews"
138 sed -n -e "/Release History/,/References and Acknowledgments/p" |\
155 # runs of this script for the same release.)
156 if ! grep "GCC ${RELEASE} released." ${SOURCE_DIRECTORY}/${x} > /dev/null ; then
158 ${LONG_DATE} Release Manager
160 * GCC ${RELEASE} released.
171 if [ `cat ${SOURCE_DIRECTORY}/gcc/BASE-VER` != ${RELEASE} ]; then
173 error "Release number ${RELEASE} does not match BASE-VER"
178 echo ${RELEASE} > BASE-VER) || \
182 error "Release number ${RELEASE} does not immediately follow BASE-VER"
191 ${GIT} commit -q -m 'Update ChangeLog and version files for release' ${commit_files} && \
195 # Make sure we tag the sources for a final release.
196 TAG="releases/gcc-${RELEASE}"
203 # already exists, issue an error message; the release manager can
210 ${GIT} tag -s -m "GCC ${RELEASE} release" "${TAG}" && \
236 changedir "gcc-${RELEASE}"
240 # For a prerelease or real release, we need to generate additional
258 # also a good sanity check to make sure that the release builds
279 # Create a "MD5SUMS" file to use for checking the validity of the release.
282 # gcc-"${RELEASE}".tar.xz tarball.
314 # Build the various tar files for the release.
328 build_tarfile gcc-${RELEASE} `basename ${SOURCE_DIRECTORY}`
339 # Build diffs against an old release.
355 new_tar=${WORKING_DIRECTORY}/${f}-${RELEASE}.tar.xz
361 build_diff $old_tar gcc-${old_vers} $new_tar gcc-${RELEASE} \
362 ${f}-${old_vers}-${RELEASE}.diff.xz
430 if [ -e ${RELEASE}/$1 ]; then
431 hash=`openssl sha256 ${RELEASE}/$1 | sed -e 's#(.*)##' -e 's# *= *#=#'`
432 hash2=`openssl sha1 ${RELEASE}/$1 | sed -e 's#(.*)##' -e 's# *= *#=#'`
447 SNAPSHOT_README=${RELEASE}/README
448 SNAPSHOT_INDEX=${RELEASE}/index.html
452 "Snapshot gcc-"${RELEASE}" is now available on
453 https://gcc.gnu.org/pub/gcc/snapshots/"${RELEASE}"/
466 <title>GCC "${RELEASE}" Snapshot</title>
470 <h1>GCC "${RELEASE}" Snapshot</h1>
485 snapshot_print gcc-${RELEASE}.tar.xz "Complete GCC"
515 ln -s ${RELEASE} LATEST-${BRANCH}
520 mail -s "gcc-${RELEASE} is now available" gcc@gcc.gnu.org < ${SNAPSHOT_README}
551 # The major number for the release. For release `3.0.2' this would be
554 # The minor number for the release. For release `3.0.2' this would be
557 # The revision number for the release. For release `3.0.2' this would
560 # The complete name of the release.
561 RELEASE=""
563 # The name of the branch from which the release should be made, in a
567 # The name of the branch from which the release should be made, as used
571 # The tag to apply to the sources used for the release.
580 # The directory that will be used to construct the release. The
581 # release itself will be placed in a subdirectory of this directory.
588 # Non-zero if this is the final release, rather than a prerelease.
629 r) RELEASE="${OPTARG}";;
679 if [ -z ${RELEASE} ]; then
680 error "No release number specified"
683 # Compute the major and minor release numbers.
684 RELEASE_MAJOR=`echo $RELEASE | awk --assign FS=. '{ print $1; }'`
685 RELEASE_MINOR=`echo $RELEASE | awk --assign FS=. '{ print $2; }'`
686 RELEASE_REVISION=`echo $RELEASE | awk --assign FS=. '{ print $3; }'`
689 error "Release number \`${RELEASE}' is invalid"
692 # Compute the full name of the release.
694 RELEASE="${RELEASE_MAJOR}.${RELEASE_MINOR}"
696 RELEASE="${RELEASE_MAJOR}.${RELEASE_MINOR}.${RELEASE_REVISION}"
700 # release number.
703 # If this is not a final release, set various parameters accordingly.
705 RELEASE="${RELEASE}-RC-${DATE}"
706 FTP_PATH="${SNAPSHOTS_DIR}/${RELEASE}"
708 FTP_PATH="${FTP_PATH}/releases/gcc-${RELEASE}/"
711 RELEASE=${BRANCH}-${DATE}
712 FTP_PATH="${FTP_PATH}/snapshots/${RELEASE}"
727 WORKING_DIRECTORY="${DESTINATION}/gcc-${RELEASE}"
728 SOURCE_DIRECTORY="${WORKING_DIRECTORY}/gcc-${RELEASE}"