You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by cs...@apache.org on 2016/03/13 02:19:51 UTC
cordova-coho git commit: update instructions on posting blog post for
plugin release
Repository: cordova-coho
Updated Branches:
refs/heads/master a20c40251 -> cf1937226
update instructions on posting blog post for plugin release
Project: http://git-wip-us.apache.org/repos/asf/cordova-coho/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-coho/commit/cf193722
Tree: http://git-wip-us.apache.org/repos/asf/cordova-coho/tree/cf193722
Diff: http://git-wip-us.apache.org/repos/asf/cordova-coho/diff/cf193722
Branch: refs/heads/master
Commit: cf193722654f91d794914f760afd35fa9490566c
Parents: a20c402
Author: Carlos Santana <cs...@gmail.com>
Authored: Sat Mar 12 20:19:45 2016 -0500
Committer: Carlos Santana <cs...@gmail.com>
Committed: Sat Mar 12 20:19:45 2016 -0500
----------------------------------------------------------------------
docs/plugins-release-process.md | 43 ++++++++++++++++++++++++++----------
1 file changed, 31 insertions(+), 12 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/cf193722/docs/plugins-release-process.md
----------------------------------------------------------------------
diff --git a/docs/plugins-release-process.md b/docs/plugins-release-process.md
index 2e2675d..7f890e6 100644
--- a/docs/plugins-release-process.md
+++ b/docs/plugins-release-process.md
@@ -294,23 +294,42 @@ Make a copy of your released tag with a prefix of `rel\YOURTAG`. These are perma
## Post blog Post
-See [full instructions](http://svn.apache.org/viewvc/cordova/site/README.md?view=markup).
+
+Add blog post markdown file like `www/_posts/2016-03-12-plugin-release.md`
+
+Send PR to https://github.com/apache/cordova-docs
+
+See full instructions in the cordova-docs [README](https://github.com/apache/cordova-docs#writing-a-blog-post)
+
+Run a production build with no docs
+
+ node_modules/.bin/gulp build --prod --nodocs
+
+Output is located in `build-prod`
cd cordova-website
svn update
- cd apache-blog-posts
- git pull
- cd ..
- grunt updateBlog
- rake build
- # correct any build errors, and repeat until clean run
- rake serve
- # preview contents at localhost:4000 and repeat until satisfied
- (cd apache-blog-posts && git add . && git commit)
+Files and directories to update in `cordova-website` svn
+
+ cp -r ../cordova-docs/build-prod/announcements/2016/* public/announcements/2016/
+ cp ../cordova-docs/build-prod/blog/index.html public/blog/index.html
+ cp ../cordova-docs/build-prod/feed.xml public/feed.xml
+ cp -r ../cordova-docs/build-prod/news/2016/* public/news/2016/
+
+
+Add link for new post to `public/sitemap.xml`
+<url>
+ <loc>/news/2016/03/12/plugin-release.html</loc>
+</url>
+
+Add a new date to `public/static/js/index.js`
+like `dates.push('Sat, 12 Mar 2016 00:00:00 +0300');`
+
svn status
- svn add NEW_FILES_HERE
+ svn add $NEW_FILES_HERE
+ svn update
# commit the new and modified files
- svn commit
+ svn commit -m "Add blog post for plugin release $JIRA"
## Do other announcements
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org