#!/bin/bash # ___ _ _ _ __ # / __|| |_ | |_ ___ | '_ \ ___ # \__ \| _|| \ / _ \| .__// -_) # |___/ \__||_||_|\___/|_| \___| ## ./script "WALLET_ID" # e="rjs.ricardosilva@gmail.com" # u="sthope" #t="5f9e24c6d98571d67711d11e30552109cb5a327a" # t="f8f43ba9798096a20ee90f9a11b619898e0cd190" w="$1" ### Semantic Version # build='build():'; # feat='feat():'; # fix='fix():'; # perf='perf():'; # ci='ci():'; # docs='docs():'; # refactor='refactor():'; # style='style():'; # test='test():'; # commit_msg_file="commit" # if [[ -f "$commit_msg_file" ]]; then # if grep -q "*build" "$commit_msg_file"; then # sed -i "s/*build/$build/" $commit_msg_file # elif grep -q "*feat" "$commit_msg_file"; then # sed -i "s/*feat/$feat/" $commit_msg_file # elif grep -q "*fix" "$commit_msg_file"; then # sed -i "s/*fix/$fix/" $commit_msg_file # elif grep -q "*perf" "$commit_msg_file"; then # sed -i "s/*perf/$perf/" $commit_msg_file # elif grep -q "*ci" "$commit_msg_file"; then # sed -i "s/*ci/$ci/" $commit_msg_file # elif grep -q "*docs" "$commit_msg_file"; then # sed -i "s/*docs/$docs/" $commit_msg_file # elif grep -q "*refactor" "$commit_msg_file"; then # sed -i "s/*refactor/$refactor/" $commit_msg_file # elif grep -q "*style" "$commit_msg_file"; then # sed -i "s/*style/$style/" $commit_msg_file # elif grep -q "*test" "$commit_msg_file"; then # sed -i "s/*test/$test/" $commit_msg_file # else echo "else" # fi # fi clear;echo "$w"