bugfix:
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
30df3c716b
commit
372b37617c
|
|
@ -11,14 +11,11 @@ jobs:
|
|||
- run: |
|
||||
commit_msg=${{ github.event.head_commit.message }}
|
||||
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=".")
|
||||
elif [[ commit_msg == feat* ]]
|
||||
then
|
||||
elif [[ commit_msg == feat* ]]; then
|
||||
version=$(echo $version | sed 's/\"//g' | awk -F"." '{$2=$2+1}1' OFS="." )
|
||||
elif [[ commit_msg == fix* ]]
|
||||
then
|
||||
elif [[ commit_msg == fix* ]]; then
|
||||
version=$(echo $version | sed 's/\"//g' | awk -F"." '{$3=$3+1}1' OFS="." )
|
||||
else
|
||||
version=$(echo $version | sed 's/\"//g' | awk -F"." '{$3=$3+1}1' OFS=".")
|
||||
|
|
|
|||
Loading…
Reference in New Issue