Trying to figure out RCA #35

Merged
hitanshu merged 1 commits from hitanshu/CFTunnels:tags into test 2025-06-05 19:40:00 +00:00
Showing only changes of commit 0bc90d5d77 - Show all commits

View File

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