{"action":"created","issue":{"url":"https://api.github.com/repos/skypjack/entt/issues/109","repository_url":"https://api.github.com/repos/skypjack/entt","labels_url":"https://api.github.com/repos/skypjack/entt/issues/109/labels{/name}","comments_url":"https://api.github.com/repos/skypjack/entt/issues/109/comments","events_url":"https://api.github.com/repos/skypjack/entt/issues/109/events","html_url":"https://github.com/skypjack/entt/issues/109","id":337339043,"node_id":"MDU6SXNzdWUzMzczMzkwNDM=","number":109,"title":"Use Travis-CI to update packages","user":{"login":"Kerndog73","id":10371177,"node_id":"MDQ6VXNlcjEwMzcxMTc3","avatar_url":"https://avatars3.githubusercontent.com/u/10371177?v=4","gravatar_id":"","url":"https://api.github.com/users/Kerndog73","html_url":"https://github.com/Kerndog73","followers_url":"https://api.github.com/users/Kerndog73/followers","following_url":"https://api.github.com/users/Kerndog73/following{/other_user}","gists_url":"https://api.github.com/users/Kerndog73/gists{/gist_id}","starred_url":"https://api.github.com/users/Kerndog73/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kerndog73/subscriptions","organizations_url":"https://api.github.com/users/Kerndog73/orgs","repos_url":"https://api.github.com/users/Kerndog73/repos","events_url":"https://api.github.com/users/Kerndog73/events{/privacy}","received_events_url":"https://api.github.com/users/Kerndog73/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-02T01:00:47Z","updated_at":"2018-07-02T06:04:33Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"A few days ago, I learnt about continuous integration and setup travis with [one of my projects](https://github.com/Kerndog73/STELA) for the first time. CI is awesome! Test driven development is awesome! Why wasn't I doing this before?!\r\n\r\nAnyway, I was thinking. Someone has to run a script or two when a new version of EnTT is released. I thought that maybe travis could do it. So I did a little research, and found this:\r\n\r\n```yaml\r\ndeploy:\r\n  provider: script\r\n  script: bash update_packages.bash $TRAVIS_TAG\r\n  on:\r\n    tags: true\r\n```\r\n\r\nThis will invoke `update_packages.bash` when a new tag is created. `update_packages.bash` could update packages for homebrew, vcpkg and any other package managers that might be supported in future like conan, spack, hunter, buckaroo, cget. The only change that will be required for the homebrew `update.bash` will be to clone instead of pull. I removed the section that does `brew audit` because it just produces annoying, nitpicky error messages.\r\n\r\nThis is just an idea and it might not be necessary but I wanted to see what you think.\r\n\r\nThis will avoid a repetition of the v2.7.0 incident. You ran the script, then I ran the script and created a merge commit. Dear oh dear 😅. That was my fault (sorry) but having Travis do the updating will mean that nobody has to worry about it ever again."},"comment":{"url":"https://api.github.com/repos/skypjack/entt/issues/comments/401680992","html_url":"https://github.com/skypjack/entt/issues/109#issuecomment-401680992","issue_url":"https://api.github.com/repos/skypjack/entt/issues/109","id":401680992,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTY4MDk5Mg==","user":{"login":"skypjack","id":1812216,"node_id":"MDQ6VXNlcjE4MTIyMTY=","avatar_url":"https://avatars1.githubusercontent.com/u/1812216?v=4","gravatar_id":"","url":"https://api.github.com/users/skypjack","html_url":"https://github.com/skypjack","followers_url":"https://api.github.com/users/skypjack/followers","following_url":"https://api.github.com/users/skypjack/following{/other_user}","gists_url":"https://api.github.com/users/skypjack/gists{/gist_id}","starred_url":"https://api.github.com/users/skypjack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skypjack/subscriptions","organizations_url":"https://api.github.com/users/skypjack/orgs","repos_url":"https://api.github.com/users/skypjack/repos","events_url":"https://api.github.com/users/skypjack/events{/privacy}","received_events_url":"https://api.github.com/users/skypjack/received_events","type":"User","site_admin":false},"created_at":"2018-07-02T06:04:33Z","updated_at":"2018-07-02T06:04:33Z","author_association":"OWNER","body":"If we can bind a script only to tags, why not?  \nDoes the `tags: true` part serve this purpose?"}}
{"actor":{"display_login":"skypjack"}}