snapcrafters / android-studio

A community-maintained package to easily install Android Studio on Linux
https://developer.android.com/studio/index.html
47 stars 14 forks source link

Move away from external scripts to bump versions #23

Closed popey closed 6 years ago

popey commented 6 years ago

We are trying to move all the snapcrafters snaps to automatically determine (at build time) what release of upstream project they should build a snap for. For example with the atom snap we use an install: section to determine the version number from the upstream deb.

I note @om26er that you're using a simple python script to do this external to the build. Can this please be integrated as we have with Atom and Discord within the yaml?

That way, when build.snapcraft.io does a build, we know it's the latest release in the edge channel, and can start testing that without having to keep editing or committing to this branch.

om26er commented 6 years ago

@popey I can do that, sure. But what triggers a new build, will that be done using build.snapcraft.io manually each time a new release is available, or there an automatic mechanism for that as well ?

popey commented 6 years ago

build will trigger one build every day, it already does this for snaps which were recently hooked up to the build service. So once the changes are made, we'll get daily builds by default.

om26er commented 6 years ago

@popey I proposed something here https://github.com/snapcrafters/android-studio/pull/25