-
Notifications
You must be signed in to change notification settings - Fork 120
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
dmg for 3.3 release? #189
Comments
Unfortunately, I don't have any mac hardware to built it on. I'm not sure how to build it on travis now. Thanks for pointing this out, I'll take a look |
Don't know if it's relevant, but people are building 3.3 there themselves |
@d1vanov Hi, could you please advice how to add release builds for MacOSX using your script? I've been asked for for these numerous times really. It'd be great if it could be done your travis script automatically! :) |
It is absolutely possible to do, I can try to look into the details later this week, however, I think I can already see the reason: it is the existing .travis.yml configuration:
The comment pretty explicitly explains what happens here: "Do not build for any branches or tags except those which have "continuous" in their name". So when you create the release tag and push, no Travis build is triggered and hence neither macOS build nor Linux one is executed and hence there's nothing to automatically upload to the created release. The fix should be simple: edit the branches configuration. There are many ways to do it, I myself use the following in my projects:
That means Travis CI builds are only triggered when you push stuff to master or development branches. It can be either a simple commit push or a tag creation, It seems you only have a
I can actually try this in my fork later this week to see how it goes. But if you have time, you can also try it yourself. |
No, I don't use additional branches, I don't have any. I only use feature branches for testing big sets of changes and then delete them, so current behaviour is pretty much fine to me. I don't want to support multiple release branches, hence the tags. :) I just wanted to enable dmg/appimage builds for every release I tagged, I assume I have to fix except clause like that:
Probably better to rewrite it using |
Yep, that alternative should also work. You can also remove the comment above the regex since it would become misleading 😉 |
Sorry, I didn't find time the last week but I found some time for experiments today, here are the results:
So every push to master gets built and every release tag gets built.
The results can be seen on the releases page of my fork - the latest release was created automatically via pushing a tag. The binaries are automatically built and attached to the release. The only postprocessing required is to edit the release information - add changelog etc. @whoozle, if you like this result, I can prepare a pull request after cleaning up some mess left after my experiments. Or you can just take the above code snippets and put them to your |
No need for apologise! That's really great news! Thanks for your work. Please create PR if you can, I can easily miss a thing. :) |
Created #191. Seems to work well in my fork. The only unfortunate thing is that I couldn't figure out the way to make Travis CI rebuild tag 3.3 and reupload the binaries - that's because at tag 3.3's commit |
It's absolutely fine, I have a few more fixes, I'll just draft 3.4 shortly after |
@brianmorton Hi, Brian! Please find new release at: |
Thanks for your work everyone :) |
On the releases page there is a
dmg
for 3.2 and for the continuous build, however there is no dmg for 3.3. Is this intentional or will there be a dmg released for 3.3?The text was updated successfully, but these errors were encountered: