Skip to content

Commit 2d8700b

Browse files
authored
Update prep-dev.yml
1 parent 08f895e commit 2d8700b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/prep-dev.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)