Closed stephanenicolas closed 10 years ago
By artifacts, you mean 'binaries'. Unfortunately, the download support from Github has shutdown. I recommend to grab your artifacts from your Maven repository directly. If you are using Nexus, you can use the following JavaScript snippet:
<script>
var root = "http://your.repo/nexus/service/local/artifact/maven/content";
var repoName = "snapshots";
var groupId = "${project.groupId}";
var artifactId ="${project.artifactId}";
var devVersion = "LATEST"; // ${project.version}
$( document ).ready(function() {
// Snapshot button
var urlDev = root + "?r=" + repoName + "&g=" + groupId + "&a=" + artifactId + "&v=" + devVersion;
$("#dev_download").attr("href", urlDev);
});
@cescoffier @github now provides binary hosting and download using the releases mechanism/api, see: https://github.com/blog/1547-release-your-software and http://developer.github.com/v3/repos/releases/
However, since maven already has a release plugin that does most of this, I think it'd be better to integrate there.
That sounds great. Definitely something I would use.
From the plugin perspective, it can be integrated, probably not in the next release, but the following one. It would be an additional plugin that create the release, and upload the released artifacts. Do you know how stable is the API ?
On 4 oct. 2013, at 16:36, Mark Prins notifications@github.com wrote:
@cescoffier @github now provides binary hosting and download using the releases mechanism/api, see: https://github.com/blog/1547-release-your-software and http://developer.github.com/v3/repos/releases/
However, since maven already has a release plugin that does most of this, I think it'd be better to integrate there.
— Reply to this email directly or view it on GitHub.
The API should be pretty stable even though it is currently in preview mode.
Hi. I was about to add a request to support release uploads and found this issue.
I would say this it is worth being open again.
In MyBatis we come from GCode where we could automate the whole release process and would love to do the same in Github.
+1
@cescoffier Would you open this issue again? It would be really great to have this feature.
Hi,
the new release feature of github is very interesting to release artifacts and release notes.
It would be wonderfull to add support for it in the GitHub maven plugin so that we can deploy our artifacts automatically on GitHub when using maven.
Thanks for your work, it is already quite helpful to us, Stéphane