File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -44,11 +44,11 @@ jobs:
4444
4545 - name : Validate updated fields
4646 run : |
47- if ! grep -A 10 'object Flipcash { ' buildSrc/src/main/java/Packaging.kt | grep -q "const val majorVersion = ${{ steps.date.outputs.YEAR }}"; then
47+ if ! grep -A 10 'object Flipcash : Packaging( ' buildSrc/src/main/java/Packaging.kt | grep -q "majorVersion = ${{ steps.date.outputs.YEAR }}"; then
4848 echo "Error: Failed to update majorVersion to ${{ steps.date.outputs.YEAR }}"
4949 exit 1
5050 fi
51- if ! grep -A 10 'object Flipcash { ' buildSrc/src/main/java/Packaging.kt | grep -q "const val minorVersion = ${{ steps.date.outputs.MONTH }}"; then
51+ if ! grep -A 10 'object Flipcash : Packaging( ' buildSrc/src/main/java/Packaging.kt | grep -q "minorVersion = ${{ steps.date.outputs.MONTH }}"; then
5252 echo "Error: Failed to update minorVersion to ${{ steps.date.outputs.MONTH }}"
5353 exit 1
5454 fi
You can’t perform that action at this time.
0 commit comments