Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7A4A8110AB for ; Fri, 5 Sep 2014 21:03:25 +0000 (UTC) Received: (qmail 86489 invoked by uid 500); 5 Sep 2014 21:03:25 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 86468 invoked by uid 500); 5 Sep 2014 21:03:24 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 86459 invoked by uid 99); 5 Sep 2014 21:03:24 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Sep 2014 21:03:24 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 9CB84A0B298; Fri, 5 Sep 2014 21:03:24 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: marcelk@apache.org To: commits@cordova.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: git commit: update instructions regarding publishing to npm Date: Fri, 5 Sep 2014 21:03:24 +0000 (UTC) Repository: cordova-coho Updated Branches: refs/heads/master ffe7c6663 -> 21a743b4e update instructions regarding publishing to npm Project: http://git-wip-us.apache.org/repos/asf/cordova-coho/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-coho/commit/21a743b4 Tree: http://git-wip-us.apache.org/repos/asf/cordova-coho/tree/21a743b4 Diff: http://git-wip-us.apache.org/repos/asf/cordova-coho/diff/21a743b4 Branch: refs/heads/master Commit: 21a743b4e67df8dc4f050296c2b8b23496a3f347 Parents: ffe7c66 Author: Marcel Kinard Authored: Fri Sep 5 17:03:07 2014 -0400 Committer: Marcel Kinard Committed: Fri Sep 5 17:03:07 2014 -0400 ---------------------------------------------------------------------- docs/cadence-release-process.md | 36 +++++++++++++++++------------------- 1 file changed, 17 insertions(+), 19 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/21a743b4/docs/cadence-release-process.md ---------------------------------------------------------------------- diff --git a/docs/cadence-release-process.md b/docs/cadence-release-process.md index d08d04f..969ac0a 100644 --- a/docs/cadence-release-process.md +++ b/docs/cadence-release-process.md @@ -141,23 +141,9 @@ Upload: Find your release here: https://dist.apache.org/repos/dist/dev/cordova/ -## Publish RC to NPM +## Do not publish the RC to NPM - cd cordova-dist-dev/$JIRA - -publish all at once - - for package in $(find *.tgz); do $(npm publish --tag rc $package); done; - -publish one package at a time - - npm publish --tag rc cordova-android-3.6.0.tgz - -Note: You need to be an owner for each of these repos and the versions can't already have been published - -For testing, you can now download all of the above repos with: - - npm install -g cordova@rc +Once a name-version is published to the npm registry, it cannot be updated. Ever. And the name-version is parsed from the package.json file. So to move from an RC to final would require a change in the package.json file, which would invalidate any Apache vote. Defer the npm publishing until after the vote is complete and has passed. ## Testing & Documentation @@ -333,8 +319,21 @@ For each package to be released, replace `cordova-android` with the package name Protip: The version is in the filename. `latest` is the public release tag on npm. - cd ../cordova-dist-dev - npm tag cordova-android@3.6.0 latest cordova-android-3.6.0.tgz + cd ../cordova-dist-dev/$JIRA + +publish all at once + + for package in $(find *.tgz); do $(npm publish --tag rc $package); done; + +publish one package at a time + + npm publish --tag rc cordova-android-3.6.0.tgz + +Note: You need to be an owner for each of these repos and the versions can't already have been published + +Tag this new version in npm as the latest + + npm tag cordova-android@3.6.0 latest Remove RCs from dist/dev @@ -344,7 +343,6 @@ Remove RCs from dist/dev svn commit -m "$JIRA Removing release candidates from dist/dev" cd .. - Find your release here: https://dist.apache.org/repos/dist/release/cordova/ ## Final Details