[PATCH 1 of 4] Remove default user name for pushing tags

Wald Commits scm-commit at wald.intevation.org
Fri May 29 20:08:38 CEST 2020


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1590770169 -7200
#      Fri May 29 18:36:09 2020 +0200
# Branch 3.2.x
# Node ID e04851177bb709e1ea5a12e39655508cd2e4556a
# Parent  b70b1bc0eecec2f760862da90a6f247d8f63c757
Remove default user name for pushing tags

diff -r b70b1bc0eece -r e04851177bb7 contrib/make_flys_release/make_release.sh
--- 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 at intevation.de>
+# Tom Gottfried <tom at 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


More information about the Dive4Elements-commits mailing list