Skip to content

Move away from github's API #18

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

Merged
merged 3 commits into from
Aug 9, 2020
Merged

Conversation

MichelDiz
Copy link
Contributor

@MichelDiz MichelDiz commented Aug 9, 2020

Moving from Github access limitation.


This change is Reviewable

@MichelDiz MichelDiz requested a review from darkn3rd August 9, 2020 18:13
Copy link

@darkn3rd darkn3rd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 of 1 files at r1.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @MichelDiz)

a discussion (no related file):
I tried this out on my CentOS VM on WinHome:

[vagrant@zero0 ~]$ curl -s https://get.dgraph.io/latest
{"latestBeta":[{"tagName":"v20.07.0-beta.Jun22"},{"tagName":"v20.07.0-beta.Jun15"},{"tagName":"v20.03.0-beta.20200320"},{"tagName":"v2.0.0-beta1"}],"latestRC":[{"tagName":"v20.07.0-rc1"},{"tagName":"v20.03.4-rc2"},{"tagName":"v20.03.4-rc1"},{"tagName":"v20.03.3-rc1"},{"tagName":"v2.0.0-rc1"},{"tagName":"v1.2.6-rc2"},{"tagName":"v1.2.6-rc1"},{"tagName":"v1.2.5-rc1"},{"tagName":"v1.2.0-rc1"},{"tagName":"v1.1.1-rc2"},{"tagName":"v1.1.1-rc1"},{"tagName":"v1.1.0-rc3"},{"tagName":"v1.1.0-rc2"},{"tagName":"v1.1.0-rc1"}],"latestCalVer":[{"tagName":"v20.07.0"},{"tagName":"v20.03.4"},{"tagName":"v20.03.3"},{"tagName":"v20.03.2"},{"tagName":"v20.03.1"},{"tagName":"v20.03.0"}],"tag_name":"v20.07.0"}
[vagrant@zero0 ~]$ curl -s https://get.dgraph.io/latest | grep -o "${release_version}" | head -n1
v20.07.0
[vagrant@zero0 ~]$ toCompare=$(curl -s https://get.dgraph.io/latest | grep -o "${release_version}" | head -n1)
[vagrant@zero0 ~]$
[vagrant@zero0 ~]$ echo $toCompare
v20.07.0
[vagrant@zero0 ~]$ if [ "$release_version" == "$toCompare" ]; then echo continue; fi
continue

:lgtm_strong:


@MichelDiz MichelDiz merged commit e8af04f into master Aug 9, 2020
@MichelDiz MichelDiz deleted the micheldiz/moveAwayfromGithubAPI branch August 9, 2020 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants