Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check version from github release #3

Open
victorevector opened this issue Jan 27, 2017 · 1 comment
Open

Check version from github release #3

victorevector opened this issue Jan 27, 2017 · 1 comment

Comments

@victorevector
Copy link

victorevector commented Jan 27, 2017

Check hex version based our repo's r elease version

Make compatible with C2 and R2 branches

@victorevector
Copy link
Author

json response

[
  {
    "url": "https://api.github.com/repos/Robo3D/Marlin/releases/5309789",
    "assets_url": "https://api.github.com/repos/Robo3D/Marlin/releases/5309789/assets",
    "upload_url": "https://uploads.github.com/repos/Robo3D/Marlin/releases/5309789/assets{?name,label}",
    "html_url": "https://github.com/Robo3D/Marlin/releases/tag/beta",
    "id": 5309789,
    "tag_name": "beta",
    "target_commitish": "C2",
    "name": "beta",
    "draft": false,
    "author": {
      "login": "victorevector",
      "id": 10040882,
      "avatar_url": "https://avatars.githubusercontent.com/u/10040882?v=3",
      "gravatar_id": "",
      "url": "https://api.github.com/users/victorevector",
      "html_url": "https://github.com/victorevector",
      "followers_url": "https://api.github.com/users/victorevector/followers",
      "following_url": "https://api.github.com/users/victorevector/following{/other_user}",
      "gists_url": "https://api.github.com/users/victorevector/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/victorevector/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/victorevector/subscriptions",
      "organizations_url": "https://api.github.com/users/victorevector/orgs",
      "repos_url": "https://api.github.com/users/victorevector/repos",
      "events_url": "https://api.github.com/users/victorevector/events{/privacy}",
      "received_events_url": "https://api.github.com/users/victorevector/received_events",
      "type": "User",
      "site_admin": false
    },
    "prerelease": false,
    "created_at": "2017-01-27T19:45:24Z",
    "published_at": "2017-01-30T23:55:56Z",
    "assets": [
      {
        "url": "https://api.github.com/repos/Robo3D/Marlin/releases/assets/3091521",
        "id": 3091521,
        "name": "Marlin-1.0.0.ino.hex",
        "label": null,
        "uploader": {
          "login": "victorevector",
          "id": 10040882,
          "avatar_url": "https://avatars.githubusercontent.com/u/10040882?v=3",
          "gravatar_id": "",
          "url": "https://api.github.com/users/victorevector",
          "html_url": "https://github.com/victorevector",
          "followers_url": "https://api.github.com/users/victorevector/followers",
          "following_url": "https://api.github.com/users/victorevector/following{/other_user}",
          "gists_url": "https://api.github.com/users/victorevector/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/victorevector/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/victorevector/subscriptions",
          "organizations_url": "https://api.github.com/users/victorevector/orgs",
          "repos_url": "https://api.github.com/users/victorevector/repos",
          "events_url": "https://api.github.com/users/victorevector/events{/privacy}",
          "received_events_url": "https://api.github.com/users/victorevector/received_events",
          "type": "User",
          "site_admin": false
        },
        "content_type": "application/octet-stream",
        "state": "uploaded",
        "size": 211539,
        "download_count": 0,
        "created_at": "2017-01-30T23:56:18Z",
        "updated_at": "2017-01-30T23:56:20Z",
        "browser_download_url": "https://github.com/Robo3D/Marlin/releases/download/beta/Marlin-1.0.0.ino.hex"
      }
    ],
    "tarball_url": "https://api.github.com/repos/Robo3D/Marlin/tarball/beta",
    "zipball_url": "https://api.github.com/repos/Robo3D/Marlin/zipball/beta",
    "body": "beta"
  }
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant