Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 788B417BA7 for ; Mon, 29 Sep 2014 18:20:37 +0000 (UTC) Received: (qmail 95508 invoked by uid 500); 29 Sep 2014 18:20:37 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 95485 invoked by uid 500); 29 Sep 2014 18:20:37 -0000 Mailing-List: contact issues-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 issues@cordova.apache.org Received: (qmail 95465 invoked by uid 99); 29 Sep 2014 18:20:37 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Sep 2014 18:20:37 +0000 Date: Mon, 29 Sep 2014 18:20:37 +0000 (UTC) From: "Steve Gill (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (CB-7659) Use X.Y.Z versions instead of X.Y.Z-A.B.C for npm release MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-7659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill reassigned CB-7659: ------------------------------ Assignee: Steve Gill > Use X.Y.Z versions instead of X.Y.Z-A.B.C for npm release > --------------------------------------------------------- > > Key: CB-7659 > URL: https://issues.apache.org/jira/browse/CB-7659 > Project: Apache Cordova > Issue Type: Bug > Components: CLI > Reporter: Isaac Z. Schlueter > Assignee: Steve Gill > > https://github.com/npm/node-semver/issues/103 > Cordova should be releasing using X.Y.Z versions, not X.Y.Z-A.B.C versions. According to the SemVer specification, the part after the - is a prerelease, and at the request of many in the npm community, we've stopped including prerelease versions in ranges unless they are explicitly opted in by including a prerelease in the version range itself. > I understand that one of the versions is the version of "the cli" and the other is the version of "apache cordova". There are a few ways that other similar projects have handled this: > - Create a "cordova36" project, and give it the version 1.2.1 > - Squash the cordova version into the first two digits, and the cli version into the third digit, so it'd be 36.1.121 > - Abandon putting the cordova version in the package name, and just solve it with documentation. > - Separate the cli project into two npm packages, one of which depends on the other, and give them separate version numbers. -- This message was sent by Atlassian JIRA (v6.3.4#6332)