Trying to figure out RCA

This commit is contained in:
hitanshu310 2025-06-05 23:43:57 +05:30
parent 36050aec95
commit c6ded4a74d
2 changed files with 2 additions and 9 deletions

View File

@ -16,12 +16,5 @@ jobs:
java-version: '17' java-version: '17'
- name: Validate Gradle Wrapper - name: Validate Gradle Wrapper
uses: gradle/actions/wrapper-validation@v3 uses: gradle/actions/wrapper-validation@v3
- name: Get latest tag dry run
run: |
echo "VERSION=$(git describe --tags --abbrev=0)"
echo $VERSION
echo "MAJOR=$(echo $VERSION | cut -d "." -f 1)"
echo "MINOR=$(echo $VERSION | cut -d "." -f 2)"
echo "PATCH=$(echo $VERSION | cut -d "." -f 3)"
- name: Gradle build - name: Gradle build
run: ./gradlew build --info run: ./gradlew build --info

View File

@ -26,8 +26,8 @@ jobs:
run: | run: |
echo "VERSION=$(git describe --tags --abbrev=0)" echo "VERSION=$(git describe --tags --abbrev=0)"
echo $VERSION echo $VERSION
echo "MAJOR=$(echo $VERSION | cut -d "." -f 1)" echo "MAJOR=$(echo $VERSION | /usr/bin/cut -d "." -f 1)"
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: |