{"action":"created","issue":{"url":"https://api.github.com/repos/dojo/grunt-dojo2/issues/25","repository_url":"https://api.github.com/repos/dojo/grunt-dojo2","labels_url":"https://api.github.com/repos/dojo/grunt-dojo2/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/dojo/grunt-dojo2/issues/25/comments","events_url":"https://api.github.com/repos/dojo/grunt-dojo2/issues/25/events","html_url":"https://github.com/dojo/grunt-dojo2/pull/25","id":172921191,"number":25,"title":"Add release task","user":{"login":"matt-gadd","id":2183490,"avatar_url":"https://avatars.githubusercontent.com/u/2183490?v=3","gravatar_id":"","url":"https://api.github.com/users/matt-gadd","html_url":"https://github.com/matt-gadd","followers_url":"https://api.github.com/users/matt-gadd/followers","following_url":"https://api.github.com/users/matt-gadd/following{/other_user}","gists_url":"https://api.github.com/users/matt-gadd/gists{/gist_id}","starred_url":"https://api.github.com/users/matt-gadd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matt-gadd/subscriptions","organizations_url":"https://api.github.com/users/matt-gadd/orgs","repos_url":"https://api.github.com/users/matt-gadd/repos","events_url":"https://api.github.com/users/matt-gadd/events{/privacy}","received_events_url":"https://api.github.com/users/matt-gadd/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dojo/grunt-dojo2/labels/CLA:%20Valid","name":"CLA: Valid","color":"007700"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-24T10:49:20Z","updated_at":"2016-08-24T11:43:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dojo/grunt-dojo2/pulls/25","html_url":"https://github.com/dojo/grunt-dojo2/pull/25","diff_url":"https://github.com/dojo/grunt-dojo2/pull/25.diff","patch_url":"https://github.com/dojo/grunt-dojo2/pull/25.patch"},"body":"This attempts to automate away some of the `publishing` part of https://github.com/dojo/meta/blob/master/documents/Committer-Workflow.md\r\n\r\nThe task will:\r\n* select the correct pre tag release version based on what is in the npm registry\r\n* update the package.json, commit and tag\r\n* prepare the package as a flat distribution\r\n* publish to npm\r\n* update the package.json version and commit\r\n\r\n(it does **not** push back to the remote) \r\n\r\nfor now, if wanting to bump the major, minor or patch on semver - you have to manually specify the `release-version` and `next-version` appropriately (this could be deduced in the future).\r\n\r\nfor pre release tags the version is set back to whatever pre version it was before automatically.\r\n\r\nto release an alpha tag for example:\r\n`grunt release --pre-release-tag=alpha`\r\n\r\nto release a specific version: \r\n`grunt release --release-version=3.0.1 --next-version=3.0.2-pre`\r\n\r\nyou can specify an npm tag:\r\n`grunt release --pre-release-tag=beta --tag=next`\r\n\r\nto dry run:\r\n`grunt release --pre-release-tag=alpha --dry-run`\r\n\r\n`--dry-run` will modify the `package.json`, but not make any commits or tags, and rather than publishing to npm, it will pack it so you can inspect what the distribution would be.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dojo/grunt-dojo2/issues/comments/242035221","html_url":"https://github.com/dojo/grunt-dojo2/pull/25#issuecomment-242035221","issue_url":"https://api.github.com/repos/dojo/grunt-dojo2/issues/25","id":242035221,"user":{"login":"matt-gadd","id":2183490,"avatar_url":"https://avatars.githubusercontent.com/u/2183490?v=3","gravatar_id":"","url":"https://api.github.com/users/matt-gadd","html_url":"https://github.com/matt-gadd","followers_url":"https://api.github.com/users/matt-gadd/followers","following_url":"https://api.github.com/users/matt-gadd/following{/other_user}","gists_url":"https://api.github.com/users/matt-gadd/gists{/gist_id}","starred_url":"https://api.github.com/users/matt-gadd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matt-gadd/subscriptions","organizations_url":"https://api.github.com/users/matt-gadd/orgs","repos_url":"https://api.github.com/users/matt-gadd/repos","events_url":"https://api.github.com/users/matt-gadd/events{/privacy}","received_events_url":"https://api.github.com/users/matt-gadd/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T11:43:51Z","updated_at":"2016-08-24T11:43:51Z","body":"perhaps i can do a `whoami` and check whether the user aligns with the package's maintainers"}}
{"actor":{"display_login":"matt-gadd"}}