v2.0.0
Gitea Action for docker build runtime / gitea-action-test (push) Successful in 10s
Details
Gitea Action for docker build runtime / gitea-action-test (push) Successful in 10s
Details
This commit is contained in:
parent
91d3f36171
commit
6001d9f8db
|
|
@ -13,6 +13,7 @@ jobs:
|
||||||
version=v1.0.0
|
version=v1.0.0
|
||||||
if [[ commit_msg == v* ]]; then
|
if [[ commit_msg == v* ]]; then
|
||||||
version=$(echo $version | sed 's/\"//g' | awk -F"." '{$1=$1+1;$2=0;$3=0}1' OFS=".")
|
version=$(echo $version | sed 's/\"//g' | awk -F"." '{$1=$1+1;$2=0;$3=0}1' OFS=".")
|
||||||
|
git tag $version
|
||||||
elif [[ commit_msg == feat* ]]; then
|
elif [[ commit_msg == feat* ]]; then
|
||||||
version=$(echo $version | sed 's/\"//g' | awk -F"." '{$2=$2+1}1' OFS="." )
|
version=$(echo $version | sed 's/\"//g' | awk -F"." '{$2=$2+1}1' OFS="." )
|
||||||
elif [[ commit_msg == fix* ]]; then
|
elif [[ commit_msg == fix* ]]; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue