-
Notifications
You must be signed in to change notification settings - Fork 15
Distribution
Pier Paolo Ramon edited this page Jan 29, 2015
·
8 revisions
The smartest idea is using GitHub releases. Just git tag
your version when you bump it and place the resulting zipfile as an attachment to the release. Remember to follow semver!
$ vi package.json # bump your version, e.g. to 1.0.3
$ git add package.json # the commit should contain only this change
$ git commit -m "Version bump" # commit the change
$ git tag 1.0.3 # create a tag for this specific version
$ git push origin master 1.0.3 # push both the master branch and the version tag
$ npm publish # publish it on npm
# if you’re lazy, and on OS X, open the new release page on GH with this command:
$ open https://github.com/USERNAME/REPO/releases/new?tag=1.0.3
Have a look at how it is done for ti-superagent
.
gitTio automatically indexes Titaniumified modules as long as you make sure your repo has a package.json
file with titaniumManifest
, titaniumifier
or titaniumified
. The first would be normally used in titaniumManifest.guid
. If you specify the guid directly in the package.json
, then use the keywords keywords.
{
"name": "my-awesome-module",
"keywords": [ "titaniumified" ]
}
Read more at: http://gitt.io/contributors
Titaniumifier is humbly made by the spry ladies and gents at SMC
© Copyright 2016 SMC Treviso S.r.l. — Licensed under LGPL 2.1