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

Resolve release date from tag on GitHub #36

Open
gkossakowski opened this issue Sep 27, 2013 · 0 comments
Open

Resolve release date from tag on GitHub #36

gkossakowski opened this issue Sep 27, 2013 · 0 comments

Comments

@gkossakowski
Copy link
Contributor

If you leave out the release date parameter for MakeDownloadPage it'll just take current date. That's probably not what you want because we should use date of when the tag was created.

It's possible to resolve it using GitHub's API:

curl -s https://api.github.com/repos/scala/scala/git/refs/tags/v2.11.0-M5 | json object.url | xargs curl -s | json tagger.date
2013-09-07T00:05:56Z

assuming the jsontool is installed.

//cc @retronym

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

No branches or pull requests

2 participants