changeset 9673:e04851177bb7 3.2.x

Remove default user name for pushing tags
author Tom Gottfried <tom@intevation.de>
date Fri, 29 May 2020 18:36:09 +0200
parents b70b1bc0eece
children ec324fd51bb0
files contrib/make_flys_release/make_release.sh
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/make_flys_release/make_release.sh	Sat May 23 10:37:23 2020 +0200
+++ b/contrib/make_flys_release/make_release.sh	Fri May 29 18:36:09 2020 +0200
@@ -3,8 +3,9 @@
 #
 # Authors:
 # Andre Heinecke <aheinecke@intevation.de>
+# Tom Gottfried <tom@intevation.de>
 #
-# Copyright (C) 2011 - 2014 by Bundesanstalt für Gewässerkunde
+# Copyright (C) 2011 - 2014, 2020 by Bundesanstalt für Gewässerkunde
 # Software engineering by Intevation GmbH
 #
 # This file is Free Software under the GNU AGPL (>=v3)
@@ -14,7 +15,6 @@
 set -e
 LC_ALL=en_US.UTF-8
 DEFAULT_WD=/tmp/flys-release
-DEVELOPER=aheinecke
 
 ARTIFACTS_HG_REPO="https://wald.intevation.org/hg/dive4elements/framework"
 HTTPCLIIENT_HG_REPO="https://wald.intevation.org/hg/dive4elements/http-client"
@@ -37,6 +37,8 @@
    -w                  The working directory to use (do not use spaces in path)
                        Default: $DEFAULT_WD
    -t                  Tag the current default branch as "VERSION"
+                       Note that \$USER is used as the repository user name
+                       for pushing the tags.
    -o, --oracle        Release is for oracle.
                        Suitable jar-file for JDBC driver has to be given with
                        the environment variable ORACLE_JDBC
@@ -137,7 +139,7 @@
         read
         OLD_REV=$(cat .hgtags | tail -1 | awk '{print $2}')
         hg tag $VERSION -m "Added tag $VERSION for changeset $CHANGESET"
-        hg push ssh://$DEVELOPER@scm.wald.intevation.org/hg/dive4elements/$repo
+        hg push ssh://$USER@scm.wald.intevation.org/hg/dive4elements/$repo
         echo "Changelog for $repo" >> $WORK_DIR/changes_$OLD_REV-$VERSION.txt
         echo "#############################################################################" \
             >> $WORK_DIR/changes_$OLD_REV-$VERSION.txt

http://dive4elements.wald.intevation.org