{"action":"created","issue":{"url":"https://api.github.com/repos/tnrich/react-variable-height-infinite-scroller/issues/8","labels_url":"https://api.github.com/repos/tnrich/react-variable-height-infinite-scroller/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/tnrich/react-variable-height-infinite-scroller/issues/8/comments","events_url":"https://api.github.com/repos/tnrich/react-variable-height-infinite-scroller/issues/8/events","html_url":"https://github.com/tnrich/react-variable-height-infinite-scroller/pull/8","id":104100261,"number":8,"title":"[added] automated release tools","user":{"login":"dozoisch","id":4422516,"avatar_url":"https://avatars.githubusercontent.com/u/4422516?v=3","gravatar_id":"","url":"https://api.github.com/users/dozoisch","html_url":"https://github.com/dozoisch","followers_url":"https://api.github.com/users/dozoisch/followers","following_url":"https://api.github.com/users/dozoisch/following{/other_user}","gists_url":"https://api.github.com/users/dozoisch/gists{/gist_id}","starred_url":"https://api.github.com/users/dozoisch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dozoisch/subscriptions","organizations_url":"https://api.github.com/users/dozoisch/orgs","repos_url":"https://api.github.com/users/dozoisch/repos","events_url":"https://api.github.com/users/dozoisch/events{/privacy}","received_events_url":"https://api.github.com/users/dozoisch/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-31T17:53:21Z","updated_at":"2015-08-31T18:43:54Z","closed_at":"2015-08-31T18:16:29Z","pull_request":{"url":"https://api.github.com/repos/tnrich/react-variable-height-infinite-scroller/pulls/8","html_url":"https://github.com/tnrich/react-variable-height-infinite-scroller/pull/8","diff_url":"https://github.com/tnrich/react-variable-height-infinite-scroller/pull/8.diff","patch_url":"https://github.com/tnrich/react-variable-height-infinite-scroller/pull/8.patch"},"body":"closes #4 \r\n\r\nAlright I've added commands in the package.json to use the release tool.\r\n\r\n It works with the latest git tags and generates the changelog from the prefixes\r\n\r\n- `[added]` added a new feature\r\n- `[changed]` changed an existing feature\r\n- `[fixed]` fixed a bug\r\n- `[removed]` removed something or a file\r\n\r\nSo to do the first generation, you have to tag the last release as a starting point. To tag 2.0.2:\r\n\r\n`git tag v2.0.2 1d0079da891a2056697ae549a7b87992c53030d5`\r\n\r\n\r\nThen you can run npm run patch/minor depending on the one you want.\r\n\r\nYou can try it without publishing by doing `npm run path -- --dry-run` (need both `--`). This will do all the steps without pushing/publishing. It'll just echo the commands instead.\r\n\r\nRight now the bundle is not generated from `npm run build`, so you might want to add it. I removed the pre-publish, since the release tool runs this:\r\n\r\n```\r\nnpm run test\r\nnpm run build\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/tnrich/react-variable-height-infinite-scroller/issues/comments/136460849","html_url":"https://github.com/tnrich/react-variable-height-infinite-scroller/pull/8#issuecomment-136460849","issue_url":"https://api.github.com/repos/tnrich/react-variable-height-infinite-scroller/issues/8","id":136460849,"user":{"login":"tnrich","id":2730609,"avatar_url":"https://avatars.githubusercontent.com/u/2730609?v=3","gravatar_id":"","url":"https://api.github.com/users/tnrich","html_url":"https://github.com/tnrich","followers_url":"https://api.github.com/users/tnrich/followers","following_url":"https://api.github.com/users/tnrich/following{/other_user}","gists_url":"https://api.github.com/users/tnrich/gists{/gist_id}","starred_url":"https://api.github.com/users/tnrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tnrich/subscriptions","organizations_url":"https://api.github.com/users/tnrich/orgs","repos_url":"https://api.github.com/users/tnrich/repos","events_url":"https://api.github.com/users/tnrich/events{/privacy}","received_events_url":"https://api.github.com/users/tnrich/received_events","type":"User","site_admin":false},"created_at":"2015-08-31T18:43:54Z","updated_at":"2015-08-31T18:43:54Z","body":"Okay, I pushed the tags, and then did a dry run, and then actually ran the patch script:\r\n\r\n```\r\n$ npm run patch\r\n\r\n> react-variable-height-infinite-scroller@2.0.2 patch /Users/tnrich/Sites/react-variable-height-infinite-scroller\r\n> release patch\r\n\r\nNo pending changes\r\nCurrent with latest changes from remote\r\nRunning: linting and tests\r\nCompleted: linting and tests\r\nVersion changed from 2.0.2 to 2.0.3\r\nRunning: build\r\nCompleted: build\r\nGenerated Changelog\r\nTagging: v2.0.3\r\nTagged: v2.0.3\r\nReleasing: npm package\r\nReleased: npm package\r\nThe \"bowerRepo\" is not set in package.json. Not publishing bower.\r\nVersion v2.0.3 released!\r\n```"}}