Trying to figure out RCA
Some checks failed
sample gradle build and test / build (pull_request) Successful in 1m18s
sample gradle build and test / build (push) Failing after 10s

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