Fix nightly release version format

Remove "-test" suffix from nightly version to ensure release notes
correctly show "codelayer-nightly" in installation instructions.

The conditional expression in release notes was already correct,
but the version format included an extra "-test" suffix causing
the condition to match incorrectly.
This commit is contained in:
dexhorthy
2025-08-11 17:44:45 -05:00
parent 5a1650a270
commit 44487997b9

View File

@@ -29,7 +29,7 @@ jobs:
run: | run: |
if [ "${{ github.event_name }}" = "schedule" ] || [ "${{ github.event.inputs.release_nightly }}" = "true" ]; then if [ "${{ github.event_name }}" = "schedule" ] || [ "${{ github.event.inputs.release_nightly }}" = "true" ]; then
# For cron/scheduled runs or test mode, use YYYYMMDD-nightly format # For cron/scheduled runs or test mode, use YYYYMMDD-nightly format
echo "release_version=$(date +%Y%m%d)-nightly-test" >> $GITHUB_OUTPUT echo "release_version=$(date +%Y%m%d)-nightly" >> $GITHUB_OUTPUT
elif [ -z "${{ github.event.inputs.release_version }}" ]; then elif [ -z "${{ github.event.inputs.release_version }}" ]; then
# For manual runs without specified version, use YYYYMMDD_HHmmss # For manual runs without specified version, use YYYYMMDD_HHmmss
echo "release_version=$(date +%Y%m%d_%H%M%S)" >> $GITHUB_OUTPUT echo "release_version=$(date +%Y%m%d_%H%M%S)" >> $GITHUB_OUTPUT