Specify work load without git clone

Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
GnomeZworc 2024-03-11 14:19:28 +01:00
commit b0410edec3
Signed by: nicolas.boufideline
GPG key ID: 4406BBBF8845D632
2 changed files with 9 additions and 4 deletions

View file

@ -1,3 +1,9 @@
# H6N Tools
Some tools use and dev for h6n, many are in shell/bash could be use in other project
Some tools use and dev for h6n, many are in shell/bash could be use in other project
## release script
To use the release script it's simple `curl https://gitlab.g3e.fr/h6n/tools/-/raw/main/scripts/release.sh | bash -s - [param list]`
In dev mode you can do `cat ./scripts/release.sh | bash -s - [param list]`

View file

@ -15,6 +15,5 @@ main () {
echo "${FLAGS_tag} - ${FLAGS_name} . ${FLAGS_dryrun}"
}
if [[ "${BASH_SOURCE[0]}" == "${0}" ]] || [[ "${BASH_SOURCE[0]}" == "" ]]; then
main "$@"
fi
[[ "${BASH_SOURCE[0]}" == "${0}" ]] && main "$@"
[[ "${BASH_SOURCE[0]}" == "" ]] && main "$@"