-
Notifications
You must be signed in to change notification settings - Fork 15
Distribution
Pier Paolo Ramon edited this page Feb 28, 2017
·
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!
# bump your version, e.g. to 1.0.3
$ vi package.json
# commit the change
$ git add package.json
$ git commit -m "Version bump"
# create a tag for this specific version
$ git tag 1.0.3
# push both the master branch and the version tag (gitTio will index it)
$ git push origin master 1.0.3
# publish it on npm (if required)
$ npm publish
# build a new zipfile (this example uses Grunt)
$ grunt titaniumifier
# if you’re lazy, and on OS X, open on GitHub the form for a new
# release, so you can attach the new zipfile
$ 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