Jump to content

Auto-Updaters


Recommended Posts

I know there is the workflow alleyoop going around which will download a release for any workflows that include an update.json file, it's a great idea. Automation for updating, making things easy.

 

As I was getting back into making updates to the Spotify workflow I wanted to add this in, but I didn't care for lack of control. Meaning no way to read about the release, view the codebase or even choose a release version. I opted not to use it.

 

Instead I wrote a little PHP library that will download tags from Github and display them back to the user. They can upgrade or downgrade a workflow, as well as 'Control + Enter' to view the code or 'Option + Enter' to read about the release.

 

If there is any interest, I can create a new repo on Github just for the auto-updater. Only caveat is that it is for just that workflow (for now), it doesn't cover all workflows, not sure it ever will. Although it could in the same manner alleyoop does except it would pull info from github (if hosted there) to get release info and browse the codebase. I think alleyoop could probably easily incorporate some of these items to make it a bit more robust.

 

You can see what I am doing here, and read more about the process here. The rest of the control and option clicks to browse the codebase or read docs are in the actual workflow. You would have to download it to view those, you can do so here.

 

find-releases.png

 

Again, if any interest, cool. I can post up whatever anyone would like to see.

 

 

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...