Darthfett/helperbot

privately tell master help message on join

andrewrk opened this issue · 3 comments

when helperbot joins it should privately tell the owner the URL where an instruction manual can be found, possibly the helperbot readme on github.

since helperbot can read its own version like this: require('./package').version it would be easy to generate a url that links to the correct version too, like this:

"https://github.com/Darthfett/helperbot/blob/" + version + "/README.md#available-in-game-commands"

this is assuming you properly tag your releases with git. (this tool can help: https://github.com/visionmedia/git-extras)

this is assuming you properly tag your releases with git

Know of a good tutorial? I am not sure what you mean by 'properly', but I have seen this tutorial. Is this git tag -a the type of tagging you're referring to? Would you suggest tagging only future releases, or going back and tagging older ones somehow?

Just install this, it's super convenient: https://github.com/visionmedia/git-extras#git-release

When you're ready to release, make sure your staging area is clean, then edit package.json to update the version number, and then without committing, do git release 0.0.6 && npm publish. It'll commit, create the tag, and push it, then deploy to npm.