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:
44
44
45
45
- name : Validate updated fields
46
46
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
48
48
echo "Error: Failed to update majorVersion to ${{ steps.date.outputs.YEAR }}"
49
49
exit 1
50
50
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
52
52
echo "Error: Failed to update minorVersion to ${{ steps.date.outputs.MONTH }}"
53
53
exit 1
54
54
fi
You can’t perform that action at this time.
0 commit comments