-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Use Travis to make releases to Github #83
Conversation
@jgraham Ready for review. |
Updated with token. |
Reviewed 1 of 1 files at r3. .travis.yml, line 46 [r2] (raw file):
I assume this shouldn't be the literal string "token" .travis.yml, line 49 [r2] (raw file):
I think it might be good to make these filenames match the existing scheme better? ci.sh, line 99 [r3] (raw file):
Why .tar? It's a single file so tar does nothing useful. Comments from Reviewable |
Sorry I didn't press publish earlier. I think this is kind of OK, but I'm not thrilled about a hundred lines of shell script in the build system :/ Review status: 1 of 2 files reviewed at latest revision, 2 unresolved discussions. Comments from Reviewable |
Shell scripts are a perfectly normal way to deal with software packaging because what you really want is some conditional behaviour, some input/output, and ability to easily run shell commands. But as we discussed earlier, I can foresee most of this going away once we get cargo vendoring support in central or something similar to that. Although I agree it could be nice to have the packaging steps as separate commands you could run locally. I might address this in a future patch. Review status: 1 of 2 files reviewed at latest revision, 2 unresolved discussions. ci.sh, line 99 [r3] (raw file):
|
Review status: 1 of 2 files reviewed at latest revision, 2 unresolved discussions. ci.sh, line 99 [r3] (raw file):
|
Review status: 1 of 2 files reviewed at latest revision, 2 unresolved discussions. ci.sh, line 99 [r3] (raw file):
|
Review status: 1 of 2 files reviewed at latest revision, 2 unresolved discussions. ci.sh, line 99 [r3] (raw file):
|
Review status: 0 of 2 files reviewed at latest revision, 2 unresolved discussions. ci.sh, line 99 [r3] (raw file):
|
Review status: 0 of 2 files reviewed at latest revision, 2 unresolved discussions. .travis.yml, line 49 [r2] (raw file):
|
Reviewed 1 of 2 files at r5. .travis.yml, line 49 [r2] (raw file):
|
Review status: 1 of 2 files reviewed at latest revision, 1 unresolved discussion. .travis.yml, line 49 [r2] (raw file):
|
Review status: 0 of 2 files reviewed at latest revision, 2 unresolved discussions, some commit checks failed. .travis.yml, line 49 [r2] (raw file):
|
Reviewed 1 of 1 files at r9, 1 of 1 files at r10. Comments from Reviewable |
When a tag is pushed we will following this patch also do a release build if the debug build and tests passes. We will then being packaging for each target, along with an archive for the source code. The packages are named after the targets. We do a normal debug build and tests first because these are cheaper to do and will give a shorter turnaround time for developers if any tests fail. You can also only run tests with debug builds. Fixes #72.
Reviewed 2 of 2 files at r11. Comments from Reviewable |
Thanks! Sorry this took so many twists and turns. |
This change is