UpdateAuthelia.sh: Revision history

From FlowerHouseWiki

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

28 July 2022

6 May 2022

  • curprev 17:2117:21, 6 May 2022Tropaion talk contribs 2,707 bytes +2,707 Created page with "<syntaxhighlight lang="bash" line> #!/bin/bash # Variables name="Authelia" repo="authelia/authelia" architecture="linux-amd64" binary_path="/usr/bin" binary_name="authelia" # ===== VERSION CHECKING, CUSTOMIZE VARIBLES FOR IT ===== # Get current version current=$($binary_path/$binary_name --version) # Retain everything after last space current=${current##* } # Get latest release tag latest=$(curl -sL https://api.github.com/repos/$repo/releases/latest | jq -r ".tag_n..."