ISSUE-33 #95

Closed
kruti wants to merge 82 commits from kruti/CFTunnels:ISSUE-33 into test
Showing only changes of commit a72d751951 - Show all commits

View File

@ -24,9 +24,12 @@ jobs:
run: |
export "VERSION=$(git describe --tags --abbrev=0)" >> $GITEA_OUTPUT
echo "${GITEA_OUTPUT}"
echo "MAJOR=$(echo ${VERSION} | /usr/bin/cut -d "." -f 1)"
sudo echo "MINOR=$(echo ${VERSION} | cut -d "." -f 2)"
echo "PATCH=$(echo ${VERSION} | cut -d "." -f 3)"
export "MAJOR=$(echo ${VERSION} | /usr/bin/cut -d "." -f 1)"
echo "${MAJOR}"
export "MINOR=$(echo ${VERSION} | cut -d "." -f 2)"
echo "${MINOR}"
export "PATCH=$(echo ${VERSION} | cut -d "." -f 3)"
echo "${PATCH}
- name: Increment version
run: |
PATCH=$((PATCH + 1))