cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-13828) Improve cordova-coho/docs
Date Thu, 22 Feb 2018 21:06:00 GMT

    [ https://issues.apache.org/jira/browse/CB-13828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16373449#comment-16373449
] 

ASF GitHub Bot commented on CB-13828:
-------------------------------------

janpio commented on a change in pull request #170: CB-13828: Improve cordova-coho/docs
URL: https://github.com/apache/cordova-coho/pull/170#discussion_r170092765
 
 

 ##########
 File path: docs/platforms-release-process.md
 ##########
 @@ -86,30 +157,46 @@ Ensure all dependencies and subdependencies have Apache-compatible licenses.
     coho check-license -r android
 
 ## Prepare Release
-Increase the version within package.json using SemVer, and remove the `-dev` suffix.
+
+### Remove the `-dev` suffix from version
+
+This command removes `-dev` from the `version` entry in `package.json`:
 
     for l in cordova-android; do ( cd $l; v="$(grep '"version"' package.json | cut -d'"'
-f4)"; if [[ $v = *-dev ]]; then v2="${v%-dev}"; echo "$l: Setting version to $v2"; sed -i
'' -E 's/version":.*/version": "'$v2'",/' package.json; fi) ; done
 
-In `cordova-android`, also remember to bump the version in `framework/build.gradle`.
+Note: This command [doesn't actually work](https://issues.apache.org/jira/browse/CB-13809).
You can also replace `-dev` manually of course.
 
-If the changes merit it, manually bump the major / minor/ patch version in `package.json`.
View the changes via:
+Note: In `cordova-android`, also remember to handle the version in `framework/build.gradle`.
+
+### Increase version
+
+If the changes merit it, **manually** bump the major / minor/ patch version in `package.json`.

+
+To decide if this release merits it, view the changes via:
 
     ( cd cordova-android && git log --pretty=format:'* %s' --topo-order --no-merges
$(git describe --tags $(git rev-list --tags --max-count=1))..master )
 
+Note: This command [doesn't actually work](https://issues.apache.org/jira/browse/CB-13901).
You can also check out the changes manually (or via the next step).
 
 Review comment:
   Indeed, it works in WSL. Will update the text.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Improve cordova-coho/docs
> -------------------------
>
>                 Key: CB-13828
>                 URL: https://issues.apache.org/jira/browse/CB-13828
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: cordova-coho
>            Reporter: Jan Piotrowski (Sujan)
>            Priority: Major
>
> /docs in the `cordova-coho` repo is effectively the contributor documentation of Cordova.
It could use some improvements right now.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message