Skip to content
Browse files

Updated release info

  • Loading branch information...
1 parent b39b1c3 commit c6ad3ed209e06d4a3fc24b88a4e7411c828207b7 @dhruvbird committed
Showing with 9 additions and 28 deletions.
  1. +0 −28 release.sh
  2. +9 −0 release_checklist.md
View
28 release.sh
@@ -1,28 +0,0 @@
-#!/bin/bash
-
-VERSION=`cat package.json | grep "version" | cut -d ' ' -f 2 | sed s/\"//g`
-DIR="node-xmpp-bosh-$VERSION"
-PREVDIR=$PWD
-TARFILE="$DIR.tar.gz"
-
-rm -Rf $DIR
-mkdir $DIR
-
-cp -R images src strophe tests package.json \
-README.TXT INSTALL.TXT EMBEDDING.TXT release.sh \
-run-server.js lintit.sh monitor.js bosh.conf.example.js \
-$DIR
-
-cd $DIR
-
-if [[ $PWD == $PREVDIR ]]; then
- exit 1
-fi
-
-rm tests/sr_users.js
-find . -name "*~" | xargs rm -Rf
-find . -name ".svn" | xargs rm -Rf
-
-cd ..
-
-tar -zvcf $TARFILE $DIR
View
9 release_checklist.md
@@ -0,0 +1,9 @@
+# Release Checklist
+
+* Verify if package installs and runs correctly
+* Update ```whats_changed.md``f if necessary
+* Check if version in package.json is okay
+* Apply version tag (e.g. v0.6.1 [=TAG]) to current HEAD
+* Check if local copy is pushed to origin/master on github
+* Upload to npm using ```npm publish https://github.com/dhruvbird/node-xmpp-bosh/tarball/TAG```
+* Tweet about it, and post on identi.ca

0 comments on commit c6ad3ed

Please sign in to comment.
Something went wrong with that request. Please try again.