#!/bin/bash # script to set the version numbers on all files or generate changelogs for a release function pre_checks() { # prechecks if [[ -z "${2}" ]]; then printf 'No version was provided\n' printf 'Error\n' exit 1 fi # set mdlp version mdlp_version="${2}" } function show_help(){ printf 'Script to change the version numbers of mangadlp in the build files, or generate release-notes for a release\n' printf '\nUsage:\n' printf ' ./release.sh