summaryrefslogtreecommitdiff
path: root/maintainer-scripts
diff options
context:
space:
mode:
authordberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>2005-11-05 18:41:06 +0000
committerdberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>2005-11-05 18:41:06 +0000
commit10bef3cafc138e0d412f9ce596f8e387ce1b10da (patch)
tree0f6947dfc6766d76c351324276d4236a1e67e895 /maintainer-scripts
parent1532ec98ed8763b683bf055299ea1c213203dd88 (diff)
downloadgcc-10bef3cafc138e0d412f9ce596f8e387ce1b10da.tar.gz
2005-11-05 Daniel Berlin <dberlin@dberlin.org>
* gcc_release: Make tags go in /tags. Don't tag for snapshots. Determine revision number of export and put into snapshot announcement. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106531 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'maintainer-scripts')
-rw-r--r--maintainer-scripts/ChangeLog7
-rwxr-xr-xmaintainer-scripts/gcc_release19
2 files changed, 17 insertions, 9 deletions
diff --git a/maintainer-scripts/ChangeLog b/maintainer-scripts/ChangeLog
index c491a0a1965..82ab4393d01 100644
--- a/maintainer-scripts/ChangeLog
+++ b/maintainer-scripts/ChangeLog
@@ -1,3 +1,10 @@
+2005-11-05 Daniel Berlin <dberlin@dberlin.org>
+
+ * gcc_release: Make tags go in /tags.
+ Don't tag for snapshots.
+ Determine revision number of export and put into snapshot
+ announcement.
+
2005-11-03 Daniel Berlin <dberlin@dberlin.org>
* gcc_release: Update for SVN
diff --git a/maintainer-scripts/gcc_release b/maintainer-scripts/gcc_release
index 116bdd7336b..c5e69a36433 100755
--- a/maintainer-scripts/gcc_release
+++ b/maintainer-scripts/gcc_release
@@ -160,7 +160,7 @@ EOF
fi
# Make sure we tag the sources for a final release.
- TAG="gcc_`echo ${RELEASE} | tr . _`_release"
+ TAG="tags/gcc_`echo ${RELEASE} | tr . _`_release"
rm -rf ${SOURCE_DIRECTORY}
fi
@@ -180,10 +180,9 @@ EOF
if ${SVN} ls "${SVNROOT}/${EXPORTTAG}/ChangeLog"; then
error "Tag ${TAG} already exists"
fi
- echo "Would execute ${SVN} cp ${SVNROOT}/${SVNBRANCH} ${SVNROOT}/${TAG}"
- #${SVN} -m "Tagging source as ${TAG}" cp "${SVNROOT}/${SVNBRANCH}" "${SVNROOT}/${TAG}" || \
+ ${SVN} -m "Tagging source as ${TAG}" cp "${SVNROOT}/${SVNBRANCH}" "${SVNROOT}/${TAG}" || \
# error "Could not tag sources"
- EXPORTTAG="${SVNBRANCH}"
+ #EXPORTTAG="${SVNBRANCH}"
else
if [ ${SVNBRANCH} != "/trunk" ]; then
EXPORTTAG="/branches/${SVNBRANCH}"
@@ -202,9 +201,11 @@ EOF
if [ -z "${EXPORTTAG}" ]; then
${SVN} -q export ${EXPORTDATE} "${SVNROOT}/trunk" "`basename ${SOURCE_DIRECTORY}`" ||\
error "Could not retrieve sources"
+ SVNREV = `${SVN} info ${EXPORTDATE} "${SVNROOT}/trunk"|grep "Revision:"|awk '{print $2}'`
elif [ -z "${EXPORTDATE}" ]; then
${SVN} -q export "${SVNROOT}/${EXPORTTAG}" "`basename ${SOURCE_DIRECTORY}`/" ||\
error "Could not retrieve sources"
+ SVNREV = `${SVN} info "${SVNROOT}/${EXPORTTAG}"|grep "Revision:"|awk '{print $2}'`
else
error "Cannot specify -r and -D at the same time"
fi
@@ -462,7 +463,7 @@ announce_snapshot() {
and on various mirrors, see http://gcc.gnu.org/mirrors.html for details.
This snapshot has been generated from the GCC "${BRANCH}" SVN branch
-with the following options: "${EXPORTTAG} ${EXPORTDATE}"
+with the following options: "svn://gcc.gnu.org/svn/gcc/${SVNBRANCH} revision ${SVNREV}"
You'll find:
" > ${SNAPSHOT_README}
@@ -486,7 +487,7 @@ we highly recommend you join the GCC developers list. Details for
how to sign up can be found on the GCC project home page.</p>
<p>This snapshot has been generated from the GCC "${BRANCH}" SVN branch
-with the following options: <code>"svn://gcc.gnu.org/svn/gcc/${EXPORTTAG} ${EXPORTDATE}"</code></p>
+with the following options: <code>"svn://gcc.gnu.org/svn/gcc/${SVNBRANCH} revision ${SVNREV}"</code></p>
<table>" > ${SNAPSHOT_INDEX}
@@ -728,9 +729,9 @@ if [ $SNAPSHOT -eq 0 ]; then
else
RELEASE=${BRANCH}-${DATE}
FTP_PATH="${FTP_PATH}/snapshots/${RELEASE}"
- if [ ${SVNBRANCH} != "HEAD" ]; then
- TAG=tags/gcc-ss-`echo ${RELEASE} | tr '.' '_'`
- fi
+# if [ ${SVNBRANCH} != "/trunk" ]; then
+# TAG=tags/gcc-ss-`echo ${RELEASE} | tr '.' '_'`
+# fi
# If diffs are requested when building locally on gcc.gnu.org, we (usually)
# know what the last snapshot date was and take the corresponding tarballs,