The release.sh script no longer has a `--user` option. The username is
now provided as a required argument of the `--github` and `--sourceforge`
options. Note that when using `--github`, a personal access token may
need to be appended to the username with a colon if two-factor auth is
used.

Fixes: 32c065ae02 ("add Github to release.sh script")
Signed-off-by: Jason Gerecke <jason.gere...@wacom.com>
---
 release.sh | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/release.sh b/release.sh
index d082b38..5017a86 100755
--- a/release.sh
+++ b/release.sh
@@ -717,15 +717,16 @@ Usage: $basename [options] path...
 Where "path" is a relative path to a git module, including '.'.
 
 Options:
-  --dist              make 'dist' instead of 'distcheck'; use with caution
-  --distcheck         Default, ignored for compatibility
-  --dry-run           Does everything except tagging and uploading tarballs
-  --force             Force overwriting an existing release
-  --help              Display this help and exit successfully
-  --modfile <file>    Release the git modules specified in <file>
-  --moduleset <file>  The jhbuild moduleset full pathname to be updated
-  --no-quit           Do not quit after error; just print error message
-  --user <name>@      Username of your fdo account if not configured in ssh
+  --dist                 make 'dist' instead of 'distcheck'; use with caution
+  --distcheck            Default, ignored for compatibility
+  --dry-run              Does everything except tagging and uploading tarballs
+  --force                Force overwriting an existing release
+  --help                 Display this help and exit successfully
+  --modfile <file>       Release the git modules specified in <file>
+  --moduleset <file>     The jhbuild moduleset full pathname to be updated
+  --no-quit              Do not quit after error; just print error message
+  --github <name[:pat]>  Release project to Github with username / token
+  --sourceforge <name>@  Release project to Sourceforge with username
 
 Environment variables defined by the "make" program and used by release.sh:
   MAKE        The name of the make command [make]
@@ -810,7 +811,7 @@ do
     --no-quit)
        NO_QUIT=yes
        ;;
-    # Github username. Optional. Append colon and Personali
+    # Github username. Optional. Append colon and Personal
     # Access Token to username if 2FA is enabled on the user
     # account doing the release
     --github)
-- 
2.16.0


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to