mirror of
https://github.com/reecetech/version-increment.git
synced 2025-12-21 22:45:43 +00:00
fix: strip leading 0 in date command for CI workflow
This commit is contained in:
2
.github/workflows/test-and-release.yml
vendored
2
.github/workflows/test-and-release.yml
vendored
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user