[Assorted-commits] SF.net SVN: assorted: [811] shell-tools/trunk/src/bash-commons/assorted. bash
Brought to you by:
yangzhang
From: <yan...@us...> - 2008-05-14 07:26:24
|
Revision: 811 http://assorted.svn.sourceforge.net/assorted/?rev=811&view=rev Author: yangzhang Date: 2008-05-14 00:26:30 -0700 (Wed, 14 May 2008) Log Message: ----------- added check for .googlecode.auth Modified Paths: -------------- shell-tools/trunk/src/bash-commons/assorted.bash Modified: shell-tools/trunk/src/bash-commons/assorted.bash =================================================================== --- shell-tools/trunk/src/bash-commons/assorted.bash 2008-05-14 07:26:07 UTC (rev 810) +++ shell-tools/trunk/src/bash-commons/assorted.bash 2008-05-14 07:26:30 UTC (rev 811) @@ -278,9 +278,9 @@ file=$stagedir/$package.jar ;; pypi ) ( - [ -f ~/.pypirc ] || + check_private ~/.pypirc || die "$( cat << "EOF" -You should have a .pypirc file containing your credentials. E.g.: +You should have a ~/.pypirc file containing your credentials. E.g.: [server-login] username:yang @@ -293,6 +293,13 @@ continue ;; * ) die "unknown dst type: $dst" ;; esac + check_private ~/.googlecode.auth || die "$( cat << "EOF" +You should have a ~/.googlecode.auth file containing your credentials. E.g.: + +yanghatespam +your-googlecode-password +EOF +)" googlecode_upload -p assorted -s "$summary" -l "$labels" $file done This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |