mirror of
https://github.com/humanlayer/humanlayer.git
synced 2025-08-20 19:01:22 +03:00
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:
2
.github/workflows/release-macos.yml
vendored
2
.github/workflows/release-macos.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user