Comments (9)
Agreed, that would be awesome. However is there a GitHub API to get the URL to the latest release?
from fixcode.
On https://github.com/neonichu/FixCode/releases , there's the magic URL https://github.com/neonichu/FixCode/releases/latest which evals to https://github.com/neonichu/FixCode/releases/tag/0.2.0 via a 302.
from fixcode.
Probably would make sense to add that as a feature to fastlane's install_xcode_plugin
action.
from fixcode.
Yes please! * inserts obligatory 👍 *
from fixcode.
curling the latest release with the GitHub API:
% curl https://api.github.com/repos/neonichu/FixCode/releases/latest
{
"url": "https://api.github.com/repos/neonichu/FixCode/releases/2605664",
"assets_url": "https://api.github.com/repos/neonichu/FixCode/releases/2605664/assets",
"upload_url": "https://uploads.github.com/repos/neonichu/FixCode/releases/2605664/assets{?name,label}",
"html_url": "https://github.com/neonichu/FixCode/releases/tag/0.3.0",
"id": 2605664,
"tag_name": "0.3.0",
"target_commitish": "master",
"name": "FixCode 0.3.0",
"draft": false,
"author": {
"login": "neonichu",
"id": 118992,
"avatar_url": "https://avatars.githubusercontent.com/u/118992?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/neonichu",
"html_url": "https://github.com/neonichu",
"followers_url": "https://api.github.com/users/neonichu/followers",
"following_url": "https://api.github.com/users/neonichu/following{/other_user}",
"gists_url": "https://api.github.com/users/neonichu/gists{/gist_id}",
"starred_url": "https://api.github.com/users/neonichu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/neonichu/subscriptions",
"organizations_url": "https://api.github.com/users/neonichu/orgs",
"repos_url": "https://api.github.com/users/neonichu/repos",
"events_url": "https://api.github.com/users/neonichu/events{/privacy}",
"received_events_url": "https://api.github.com/users/neonichu/received_events",
"type": "User",
"site_admin": false
},
"prerelease": false,
"created_at": "2016-02-12T20:25:30Z",
"published_at": "2016-02-12T20:42:54Z",
"assets": [
{
"url": "https://api.github.com/repos/neonichu/FixCode/releases/assets/1306248",
"id": 1306248,
"name": "FixCode.xcplugin.zip",
"label": null,
"uploader": {
"login": "neonichu",
"id": 118992,
"avatar_url": "https://avatars.githubusercontent.com/u/118992?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/neonichu",
"html_url": "https://github.com/neonichu",
"followers_url": "https://api.github.com/users/neonichu/followers",
"following_url": "https://api.github.com/users/neonichu/following{/other_user}",
"gists_url": "https://api.github.com/users/neonichu/gists{/gist_id}",
"starred_url": "https://api.github.com/users/neonichu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/neonichu/subscriptions",
"organizations_url": "https://api.github.com/users/neonichu/orgs",
"repos_url": "https://api.github.com/users/neonichu/repos",
"events_url": "https://api.github.com/users/neonichu/events{/privacy}",
"received_events_url": "https://api.github.com/users/neonichu/received_events",
"type": "User",
"site_admin": false
},
"content_type": "application/zip",
"state": "uploaded",
"size": 47478,
"download_count": 347,
"created_at": "2016-02-12T20:43:15Z",
"updated_at": "2016-02-12T20:43:17Z",
"browser_download_url": "https://github.com/neonichu/FixCode/releases/download/0.3.0/FixCode.xcplugin.zip"
}
],
"tarball_url": "https://api.github.com/repos/neonichu/FixCode/tarball/0.3.0",
"zipball_url": "https://api.github.com/repos/neonichu/FixCode/zipball/0.3.0",
"body": "Bugfixes and performance improvements :trollface: \r\n\r\nThanks for using FixCode! To make our Xcode plugin better for you, we bring updates every 2 weeks."
}
The JSON path assets/browser_download_url
is what we want: "browser_download_url": "https://github.com/neonichu/FixCode/releases/download/0.3.0/FixCode.xcplugin.zip"
from fixcode.
This has been implemented in fastlane/fastlane#4911
from fixcode.
Thanks a lot for the suggestion @cbowns 🎉
from fixcode.
Yeah 🚀
from fixcode.
🤘
from fixcode.
Related Issues (14)
- No Issue I want to thank you so so much for this. I just have to get this approved by legal and get all my developers to install this HOT 2
- 'fix issue' button reappears if you change your team HOT 1
- Confusion about `Fix Issue` HOT 1
- Fix issue button showing up in Xcode 7.3 HOT 2
- disable fix issue button on capabilities HOT 4
- FixCode.xcplugin' not present in DVTPlugInCompatibilityUUIDs HOT 2
- Fix the Fix Issue button when connecting a device HOT 7
- Can someone help me with my code?
- Serious Issue HOT 2
- Add prefixes to vendored Objective-C symbols HOT 2
- 'fix issue' button reappears if you edit the Version number HOT 5
- What's the best way to tell Xcode to update its provisioning profiles after adding a new device? HOT 2
- Getting error when trying to install FixCode via Fastlane HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fixcode.