You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Bitrise should upload releases to GitHub too #1349
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.
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.
@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.
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.
@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?
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.
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
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).
Activity
picciano commentedon Apr 27, 2015
+1
friedbunny commentedon Apr 27, 2015
Agree with also deploying to Github.
Is @incanus the s3 admin for this? Should be easy to do like http://mapbox-ios-sdk.s3.amazonaws.com/index.html again, I'd think.
incanus commentedon Apr 27, 2015
Yeah we could start with the
index.htmlas 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
mapboxbucket (mapbox-gl-native/ios/buildssubfolder) should be able to update that.1ec5 commentedon Apr 27, 2015
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.
ljbade commentedon May 7, 2015
@bleege should Android artifacts also end up here? Or should we just link through to maven?
1ec5 commentedon May 7, 2015
@ljbade, I think they should, if only to keep people from downloading the source tarball that GitHub provides by default for every tag.
bleege commentedon May 7, 2015
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.
incanus commentedon May 7, 2015
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.
1ec5 commentedon May 7, 2015
#1349 (comment) relates to Android releases also needing the same treatment.
bleege commentedon May 7, 2015
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.
mikemorris commentedon Sep 23, 2015
Refs mapbox/node-pre-gyp#134 (comment) for Node.js platform binaries.
friedbunny commentedon Jan 21, 2016
We've moved to Bitrise for iOS and Android builds.
[-]Travis should upload releases to GitHub too[/-][+]Bitrise should upload releases to GitHub too[/+]11 remaining items
jfirebaugh commentedon Apr 8, 2016
@mikemorris Bitrise has AWS credentials set in secret environment variables, and runs the same
after_script.shscript, 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?mikemorris commentedon Apr 8, 2016
@jfirebaugh Asking because I'm anticipating it won't work when I publish a new release today because
1ec5 commentedon Apr 8, 2016
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.
mikemorris commentedon Apr 11, 2016
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
friedbunny commentedon Oct 24, 2017
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).