From 48d1833edd21e129daff24cf429ce82918b29b1c Mon Sep 17 00:00:00 2001 From: Kay0u Date: Thu, 27 Aug 2020 13:55:16 +0200 Subject: [PATCH] add usage --- upgrade-versions.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/upgrade-versions.sh b/upgrade-versions.sh index ab9068a..e1f6e17 100755 --- a/upgrade-versions.sh +++ b/upgrade-versions.sh @@ -1,5 +1,12 @@ #!/bin/bash +# /!\ This is a quick and dirty bash script, which does not respect the YNH format. + +# This script will upgrade sha256sum, manifest, readme and config template +# /!\ before committing the modifications, check if nothing is broken if files +# Usage: ./upgrade-versions.sh path_to_upgrade_file version +# Example: ./upgrade-versions.sh scripts/upgrade.d/upgrade.last.sh 13.3.1 + file=$(basename $1) version=$2 current_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"