-
Notifications
You must be signed in to change notification settings - Fork 66
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
Deployment strategy & dependent projects #67
Comments
fixes #67 deploy with Travis-CI (looks good)
Option 1: It might be best to keep the tag name in a file and update it to the "semantic version" of the next release's pre-released after the release process (e.g. Option 2: Deployment to GitHub Releases gets triggered by pushing a tag. The following link contains environment variables available in a Travis-CI build |
With respect to dependent projects, the input for dependency graphs GitHub currently supports are limited to either Full fledged semantic versioning would require two things:
A work around might look like this:
In the future, it would be better to omit the "v" in the tag and use plain numbers. |
Using a NPM package.json for modeling the dependencies in a non-JavaScript project, while using GitHub Releases for storing artifacts, doesn't appear to work with the current GitHub "Dependency Graph" feature (neither in the package producing, nor in the package consuming repository). I asked the GitHub support for advice (see answer below) but the use case seems not to be covered. For the records, here are some pointers:
Thanks for getting in touch! You asked:
To enable the dependency graph for your project, your repository must define Ruby or JavaScript dependencies in either a Gemfile or package.json file as mentioned here: https://help.github.com/articles/listing-the-packages-that-a-repository-depends-on/ In this case, I see you have a package.json defined as well as a dependencies field. However, the dependency specified isn't something that we recognize:
I recommend following this guide for checking what the valid inputs are for dependencies: |
For the time being, using well established dependency management infrastructure (e.g. maven, npm) does more harm than good to usability. I'll go for a simple Makefile/curl approach (see TG9541/W1209#5) |
Travis-ci provides a "Deploy to GitHub Releases" feature but I haven't figured out how to distinguish between "master" and "develop" builds.
It would be really cool to have something like a dependency graph. Maybe that would be possible by wrapping the binary distribution into some other popular packaging system.
The text was updated successfully, but these errors were encountered: