mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-25 04:45:07 +00:00
TEMP: update version prefix to handle last month correctly
This commit is contained in:
@@ -125,7 +125,11 @@ jobs:
|
||||
- name: Set NocoDB version
|
||||
run: |
|
||||
# Generate date components
|
||||
VERSION_PREFIX=$(date +%Y.%m)
|
||||
if date -d "last month" +%Y.%m >/dev/null 2>&1; then
|
||||
VERSION_PREFIX=$(date -d "last month" +%Y.%m)
|
||||
else
|
||||
VERSION_PREFIX=$(date -v-1m +%Y.%m)
|
||||
fi
|
||||
# Use provided suffix
|
||||
SUFFIX="${{ inputs.versionSuffix }}"
|
||||
# Combine prefix and suffix to create final version
|
||||
|
||||
Reference in New Issue
Block a user