Darthfett / helperbot

A mineflayer bot that helps you do things in minecraft.
57 stars 14 forks source link

privately tell master help message on join #13

Closed andrewrk closed 11 years ago

andrewrk commented 11 years ago

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

andrewrk commented 11 years ago

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)

Darthfett commented 11 years ago

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?

andrewrk commented 11 years ago

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.