fix
Gitea Action for docker build runtime / gitea-action-test (push) Failing after 8s
Details
Gitea Action for docker build runtime / gitea-action-test (push) Failing after 8s
Details
This commit is contained in:
parent
6001d9f8db
commit
eca038d6a2
|
|
@ -13,7 +13,6 @@ 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
|
||||||
|
|
@ -22,5 +21,6 @@ jobs:
|
||||||
version=$(echo $version | sed 's/\"//g' | awk -F"." '{$3=$3+1}1' OFS=".")
|
version=$(echo $version | sed 's/\"//g' | awk -F"." '{$3=$3+1}1' OFS=".")
|
||||||
fi
|
fi
|
||||||
echo $version
|
echo $version
|
||||||
|
git tag $version
|
||||||
- run: echo "This job's status is ${{ job.status }}."
|
- run: echo "This job's status is ${{ job.status }}."
|
||||||
- run: echo "Tag name from gitea.ref_name ${{ gitea.ref_name }}"
|
- run: echo "Tag name from gitea.ref_name ${{ gitea.ref_name }}"
|
||||||
Loading…
Reference in New Issue