mirror of
https://github.com/YunoHost-Apps/gitlab_ynh.git
synced 2024-09-03 18:36:35 +02:00
add usage
This commit is contained in:
parent
4b8d8bc802
commit
48d1833edd
1 changed files with 7 additions and 0 deletions
|
@ -1,5 +1,12 @@
|
||||||
#!/bin/bash
|
#!/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)
|
file=$(basename $1)
|
||||||
version=$2
|
version=$2
|
||||||
current_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
current_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||||
|
|
Loading…
Add table
Reference in a new issue