{"action":"created","issue":{"url":"https://api.github.com/repos/schibsted/sdk-js/issues/15","labels_url":"https://api.github.com/repos/schibsted/sdk-js/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/schibsted/sdk-js/issues/15/comments","events_url":"https://api.github.com/repos/schibsted/sdk-js/issues/15/events","html_url":"https://github.com/schibsted/sdk-js/pull/15","id":111420751,"number":15,"title":"WIP: SDK release versioning","user":{"login":"thogra","id":922478,"avatar_url":"https://avatars.githubusercontent.com/u/922478?v=3","gravatar_id":"","url":"https://api.github.com/users/thogra","html_url":"https://github.com/thogra","followers_url":"https://api.github.com/users/thogra/followers","following_url":"https://api.github.com/users/thogra/following{/other_user}","gists_url":"https://api.github.com/users/thogra/gists{/gist_id}","starred_url":"https://api.github.com/users/thogra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thogra/subscriptions","organizations_url":"https://api.github.com/users/thogra/orgs","repos_url":"https://api.github.com/users/thogra/repos","events_url":"https://api.github.com/users/thogra/events{/privacy}","received_events_url":"https://api.github.com/users/thogra/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-14T15:16:54Z","updated_at":"2015-10-15T11:28:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/schibsted/sdk-js/pulls/15","html_url":"https://github.com/schibsted/sdk-js/pull/15","diff_url":"https://github.com/schibsted/sdk-js/pull/15.diff","patch_url":"https://github.com/schibsted/sdk-js/pull/15.patch"},"body":"## How do I even release\r\nI'm operating under a couple of assumptions (correct me if I'm wrong)\r\n - The `/dist/` directory shouldn't even be checked in (TODO: add `dist/` to `.gitignore`)\r\n - We should attach the \"built\" files, as a `zip`, to the Github release\r\n - \"dist\" files should contain the version number in the file name as well as in the code\r\n - There's no need for releasing to NPM\r\n\r\nIt's entirely possible to do this manually. I'm sure we can automate it too (soon, in this PR), maybe even do it with [Travis](https://travis-ci.org/) if we want to do like that.\r\n\r\n@joawan @erikfried"},"comment":{"url":"https://api.github.com/repos/schibsted/sdk-js/issues/comments/148359628","html_url":"https://github.com/schibsted/sdk-js/pull/15#issuecomment-148359628","issue_url":"https://api.github.com/repos/schibsted/sdk-js/issues/15","id":148359628,"user":{"login":"thogra","id":922478,"avatar_url":"https://avatars.githubusercontent.com/u/922478?v=3","gravatar_id":"","url":"https://api.github.com/users/thogra","html_url":"https://github.com/thogra","followers_url":"https://api.github.com/users/thogra/followers","following_url":"https://api.github.com/users/thogra/following{/other_user}","gists_url":"https://api.github.com/users/thogra/gists{/gist_id}","starred_url":"https://api.github.com/users/thogra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thogra/subscriptions","organizations_url":"https://api.github.com/users/thogra/orgs","repos_url":"https://api.github.com/users/thogra/repos","events_url":"https://api.github.com/users/thogra/events{/privacy}","received_events_url":"https://api.github.com/users/thogra/received_events","type":"User","site_admin":false},"created_at":"2015-10-15T11:28:57Z","updated_at":"2015-10-15T11:28:57Z","body":"I've added some automation to creating releases, via the `release-it` grunt task. The idea is to:\r\n 1. Bump the version number to be released in `package.json`\r\n 2. `$> grunt release`\r\n 3. Upload the `dist/spid-sdk-X.Y.Z.zip` to the GitHub release via the UI (couldn't automate this part easily, because https://github.com/webpro/release-it/issues/32)\r\n 4. Profit"}}