diff --git a/.gitea/workflows/run.yaml b/.gitea/workflows/run.yaml index 4a68a6f..d8f9c0a 100644 --- a/.gitea/workflows/run.yaml +++ b/.gitea/workflows/run.yaml @@ -13,7 +13,6 @@ jobs: version=v1.0.0 if [[ commit_msg == v* ]]; then 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 version=$(echo $version | sed 's/\"//g' | awk -F"." '{$2=$2+1}1' OFS="." ) elif [[ commit_msg == fix* ]]; then @@ -22,5 +21,6 @@ jobs: version=$(echo $version | sed 's/\"//g' | awk -F"." '{$3=$3+1}1' OFS=".") fi echo $version + git tag $version - run: echo "This job's status is ${{ job.status }}." - run: echo "Tag name from gitea.ref_name ${{ gitea.ref_name }}" \ No newline at end of file