Skip to content

I created a script that automates updating your Sendy installation

Keeping your Sendy updated is something you should always look for.
I am sharing with you my script that follows the Sendy instructions and updates your installation to the latest version.

On top of the official Sendy instructions, it generates a ZIP backup of your current installation in case anything goes wrong and you need to revert.

The only thing you must do is to configure the variable for sendy installation and your license code.
The script takes care of downloading the new updated version for you.

https://gist.github.com/marcelorodrigo/46aa79a31d92341083f2f46587749e7e

Let me know your thoughts and suggestions to improve.

Comments

  • Big big fan of this project, thank you for your time and efforts.

    I just gave it a shake and ended up not being able to run it due to a spelling error in the file path. This however showed that every consequent step was still executed as there was no validation of the file path and generally no error handling.

    So in the spirit of feedback, you may want to think about:

    • validation of the install dir
    • expectation of having a trailing slash "/" or not
    • error handling / error casing

    Or, you could just cross your fingers that not everyone is an idiot like me and knows how to spell properly ;)

    Great job though, thank you very much!

Sign In or Register to comment.