{"action":"created","issue":{"url":"https://api.github.com/repos/nicoespeon/gitgraph.js/issues/75","repository_url":"https://api.github.com/repos/nicoespeon/gitgraph.js","labels_url":"https://api.github.com/repos/nicoespeon/gitgraph.js/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/nicoespeon/gitgraph.js/issues/75/comments","events_url":"https://api.github.com/repos/nicoespeon/gitgraph.js/issues/75/events","html_url":"https://github.com/nicoespeon/gitgraph.js/issues/75","id":97517377,"number":75,"title":"Refactor the way we create tag to add a `.tag()` command","user":{"login":"nicoespeon","id":1094774,"avatar_url":"https://avatars.githubusercontent.com/u/1094774?v=3","gravatar_id":"","url":"https://api.github.com/users/nicoespeon","html_url":"https://github.com/nicoespeon","followers_url":"https://api.github.com/users/nicoespeon/followers","following_url":"https://api.github.com/users/nicoespeon/following{/other_user}","gists_url":"https://api.github.com/users/nicoespeon/gists{/gist_id}","starred_url":"https://api.github.com/users/nicoespeon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicoespeon/subscriptions","organizations_url":"https://api.github.com/users/nicoespeon/orgs","repos_url":"https://api.github.com/users/nicoespeon/repos","events_url":"https://api.github.com/users/nicoespeon/events{/privacy}","received_events_url":"https://api.github.com/users/nicoespeon/received_events","type":"User","site_admin":false},"labels":[{"id":218710871,"url":"https://api.github.com/repos/nicoespeon/gitgraph.js/labels/enhancement","name":"enhancement","color":"9933CC","default":true},{"id":52017838,"url":"https://api.github.com/repos/nicoespeon/gitgraph.js/labels/refactor","name":"refactor","color":"9933CC","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2015-07-27T17:48:32Z","updated_at":"2016-11-25T11:46:49Z","closed_at":null,"body":"You can tag any commit using `.commit( { message: \"My message\", tag: \"a-super-tag\" } )`.\n\nIf we want to mimic the way we use git, we'd rather commit, then tag. Well that's the idea, it would be nice to get a `.tag( \"a-super-tag\" )` command to tag current HEAD — that would be a good start.\n\nSee: https://github.com/nicoespeon/gitgraph.js/pull/74\n"},"comment":{"url":"https://api.github.com/repos/nicoespeon/gitgraph.js/issues/comments/262940099","html_url":"https://github.com/nicoespeon/gitgraph.js/issues/75#issuecomment-262940099","issue_url":"https://api.github.com/repos/nicoespeon/gitgraph.js/issues/75","id":262940099,"user":{"login":"lucasvc","id":1053448,"avatar_url":"https://avatars.githubusercontent.com/u/1053448?v=3","gravatar_id":"","url":"https://api.github.com/users/lucasvc","html_url":"https://github.com/lucasvc","followers_url":"https://api.github.com/users/lucasvc/followers","following_url":"https://api.github.com/users/lucasvc/following{/other_user}","gists_url":"https://api.github.com/users/lucasvc/gists{/gist_id}","starred_url":"https://api.github.com/users/lucasvc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucasvc/subscriptions","organizations_url":"https://api.github.com/users/lucasvc/orgs","repos_url":"https://api.github.com/users/lucasvc/repos","events_url":"https://api.github.com/users/lucasvc/events{/privacy}","received_events_url":"https://api.github.com/users/lucasvc/received_events","type":"User","site_admin":false},"created_at":"2016-11-25T11:46:49Z","updated_at":"2016-11-25T11:46:49Z","body":"Yes, it is a good idea!\r\nI've done two things, depending the sitation:\r\n\r\n````\r\nvar release1 = develop.branch(\"release/1_branch\");\r\nrelease1.parentCommit.tag = \"release/1_01\";\r\n````\r\n````\r\nrelease1.commit();\r\nrelease1.commits[release1.commits.length - 1].tag = \"release/1_02\";\r\n````"}}
{"actor":{"display_login":"lucasvc"}}