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

This commit is contained in:
hitanshu310 2025-06-06 00:02:30 +05:30
parent c6ded4a74d
commit df2a50d356

View File

@ -25,10 +25,10 @@ jobs:
- name: Get latest tag - name: Get latest tag
run: | run: |
echo "VERSION=$(git describe --tags --abbrev=0)" echo "VERSION=$(git describe --tags --abbrev=0)"
echo $VERSION echo "${VERSION}"
echo "MAJOR=$(echo $VERSION | /usr/bin/cut -d "." -f 1)" echo "MAJOR=$(echo ${VERSION} | /usr/bin/cut -d "." -f 1)"
sudo echo "MINOR=$(echo $VERSION | cut -d "." -f 2)" sudo echo "MINOR=$(echo ${VERSION} | cut -d "." -f 2)"
echo "PATCH=$(echo $VERSION | cut -d "." -f 3)" echo "PATCH=$(echo ${VERSION} | cut -d "." -f 3)"
- name: Increment version - name: Increment version
run: | run: |
PATCH=$((PATCH + 1)) PATCH=$((PATCH + 1))