fix: strip leading 0 in date command for CI workflow

This commit is contained in:
Daniel Atanasovski
2024-03-20 15:39:13 +11:00
parent b920b6b45e
commit 0c4ebd1e55

View File

@@ -65,7 +65,7 @@ jobs:
- name: Check increment result - name: Check increment result
shell: bash shell: bash
run: '[[ "$(date +%Y.%m)" == "$(echo "${{ steps.version-increment.outputs.VERSION }}" | cut -d "." -f 1-2)" ]]' run: '[[ "$(date +%Y.%-m)" == "$(echo "${{ steps.version-increment.outputs.VERSION }}" | cut -d "." -f 1-2)" ]]'
test-action-yml: # integration testing test-action-yml: # integration testing
needs: needs: