Trying to figure out RCA

This commit is contained in:
hitanshu310 2025-06-06 01:07:33 +05:30
parent 80b55fd993
commit 0bc90d5d77

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))