{"action":"created","issue":{"url":"https://api.github.com/repos/drone-plugins/drone-github-release/issues/24","repository_url":"https://api.github.com/repos/drone-plugins/drone-github-release","labels_url":"https://api.github.com/repos/drone-plugins/drone-github-release/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/drone-plugins/drone-github-release/issues/24/comments","events_url":"https://api.github.com/repos/drone-plugins/drone-github-release/issues/24/events","html_url":"https://github.com/drone-plugins/drone-github-release/issues/24","id":229761950,"number":24,"title":"Incorrect handling of tags containing `/` char","user":{"login":"awilliams","id":645192,"avatar_url":"https://avatars0.githubusercontent.com/u/645192?v=4","gravatar_id":"","url":"https://api.github.com/users/awilliams","html_url":"https://github.com/awilliams","followers_url":"https://api.github.com/users/awilliams/followers","following_url":"https://api.github.com/users/awilliams/following{/other_user}","gists_url":"https://api.github.com/users/awilliams/gists{/gist_id}","starred_url":"https://api.github.com/users/awilliams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awilliams/subscriptions","organizations_url":"https://api.github.com/users/awilliams/orgs","repos_url":"https://api.github.com/users/awilliams/repos","events_url":"https://api.github.com/users/awilliams/events{/privacy}","received_events_url":"https://api.github.com/users/awilliams/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-05-18T18:19:30Z","updated_at":"2017-08-15T08:15:55Z","closed_at":"2017-08-15T08:15:55Z","body":"If a tag is used that contains `/` (for example `test/v1.2.3`), then the plugin will link the release to the tag `v1.2.3`.\r\n\r\nI believe this happens because the `filepath.Base` function is used to extract the tag name from the commit reference. [Source](https://github.com/drone-plugins/drone-github-release/blob/master/plugin.go#L119)"},"comment":{"url":"https://api.github.com/repos/drone-plugins/drone-github-release/issues/comments/322407098","html_url":"https://github.com/drone-plugins/drone-github-release/issues/24#issuecomment-322407098","issue_url":"https://api.github.com/repos/drone-plugins/drone-github-release/issues/24","id":322407098,"user":{"login":"tboerger","id":156964,"avatar_url":"https://avatars3.githubusercontent.com/u/156964?v=4","gravatar_id":"","url":"https://api.github.com/users/tboerger","html_url":"https://github.com/tboerger","followers_url":"https://api.github.com/users/tboerger/followers","following_url":"https://api.github.com/users/tboerger/following{/other_user}","gists_url":"https://api.github.com/users/tboerger/gists{/gist_id}","starred_url":"https://api.github.com/users/tboerger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tboerger/subscriptions","organizations_url":"https://api.github.com/users/tboerger/orgs","repos_url":"https://api.github.com/users/tboerger/repos","events_url":"https://api.github.com/users/tboerger/events{/privacy}","received_events_url":"https://api.github.com/users/tboerger/received_events","type":"User","site_admin":false},"created_at":"2017-08-15T08:15:55Z","updated_at":"2017-08-15T08:15:55Z","body":"Fixed by #26 "}}
{"actor":{"display_login":"tboerger"}}