mirror of
https://github.com/reecetech/version-increment.git
synced 2025-12-21 06:25:44 +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
|
||||
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
|
||||
needs:
|
||||
|
||||
Reference in New Issue
Block a user