Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Bitrise should upload releases to GitHub too #1349

Closed

Description

@1ec5

Currently Travis uploads prebuilt releases to an s3 directory with no public file listing, complicating the manual setup story for folks who can’t use CocoaPods. We should configure Travis to automatically deploy a copy of the prebuilt release to GitHub to be listed here.

/cc @incanus @bsudekum

Activity

  1. added
    iOS
    on Apr 27, 2015
  2. picciano commented on Apr 27, 2015

    @picciano

    +1

  3. friedbunny commented on Apr 27, 2015

    @friedbunny
    Contributor
  4. incanus commented on Apr 27, 2015

    @incanus
    Contributor

    Yeah we could start with the index.html as an assist to what is up there, but I think the idea of uploading the binary ball to GitHub is cool too as it hangs it on the actual tag/release for people to download.

    Re: S3, anyone with a access to the mapbox bucket (mapbox-gl-native/ios/builds subfolder) should be able to update that.

  5. 1ec5 commented on Apr 27, 2015

    @1ec5
    ContributorAuthor

    uploading the binary ball to GitHub is cool too as it hangs it on the actual tag/release for people to download

    Yes, otherwise it’s going to confuse people who happen upon our Releases page and wind up with a tarball full of raw source, thinking that’s our release.

  6. ljbade commented on May 7, 2015

    @ljbade
    Contributor

    @bleege should Android artifacts also end up here? Or should we just link through to maven?

  7. 1ec5 commented on May 7, 2015

    @1ec5
    ContributorAuthor

    @ljbade, I think they should, if only to keep people from downloading the source tarball that GitHub provides by default for every tag.

  8. bleege commented on May 7, 2015

    @bleege
    Contributor

    @bleege should Android artifacts also end up here? Or should we just link through to maven?

    I'm inclined to to keep them only on Maven Central as there are likely going to be 3rd party dependencies that are going to need to be managed that the iOS side doesn't have to deal with.

  9. incanus commented on May 7, 2015

    @incanus
    Contributor

    if only to keep people from downloading the source tarball that GitHub provides by default for every tag

    This is a little clearer now that we are pushing the product to Github. This means that releases are a little clearer about source vs. binary.

  10. 1ec5 commented on May 7, 2015

    @1ec5
    ContributorAuthor

    #1349 (comment) relates to Android releases also needing the same treatment.

  11. bleege commented on May 7, 2015

    @bleege
    Contributor

    Yep, I follow that @1ec5 (sorry that it seemed like I was glossing over it). Maybe I'm not understanding this in its entirety correctly, but from the Android perspective having a binary artifact for download is not helpful on it's own without it's likely 3rd party binary dependencies (i.e. it won't run). Java isn't as self contained as iOS and is generally bad practice to store 3rd party binaries this way.

  12. mikemorris commented on Sep 23, 2015

    @mikemorris
    Contributor

    Refs mapbox/node-pre-gyp#134 (comment) for Node.js platform binaries.

  13. friedbunny commented on Jan 21, 2016

    @friedbunny
    Contributor

    We've moved to Bitrise for iOS and Android builds.

  14. changed the title [-]Travis should upload releases to GitHub too[/-] [+]Bitrise should upload releases to GitHub too[/+] on Jan 21, 2016
  15. 11 remaining items

  16. removed this from the milestone on Apr 8, 2016
  17. jfirebaugh commented on Apr 8, 2016

    @jfirebaugh
    Contributor

    @mikemorris Bitrise has AWS credentials set in secret environment variables, and runs the same after_script.sh script, so in theory publishing should still work. Of course, since that step only runs when a tagged release is made, it's hard to test. Are you asking because you're seeing it not work?

  18. mikemorris commented on Apr 8, 2016

    @mikemorris
    Contributor

    @jfirebaugh Asking because I'm anticipating it won't work when I publish a new release today because

    Bitrise builds can only be triggered by a matching branch name rather than a matching tag name

  19. 1ec5 commented on Apr 8, 2016

    @1ec5
    ContributorAuthor

    I was referring to Bitrise’s “triggers” feature, which allows you to build a particular workflow when commits are pushed to matching branch names. If you’re using some other method that scans each commit message for a certain string, as we used to do on Travis for iOS SDK releases, you’ll be fine.

  20. mikemorris commented on Apr 11, 2016

    @mikemorris
    Contributor

    Welp, it looks like Bitrise failed to trigger a Node.js OS X build (and therefore failed to publish a binary) on the fast-forward merge and tag of #4659

  21. modified the milestones: ios-v3.3.0, ios-v3.4.0 on Jun 28, 2016
  22. modified the milestones: ios-v3.4.0, ios-future on Jul 11, 2016
  23. friedbunny commented on Oct 24, 2017

    @friedbunny
    Contributor

    We’ve been uploading zipped builds to GitHub releases for some time as part of the scripted deployment, but now it happens even more automatically as part of the tag-based-deploy on CI (#10170).

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Node.jsbuildiOS

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions