mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-26 20:35:39 -06:00
fix: current-tree package checks support unreleased versions (#104186)
* fix(ci): package unreleased QA builds safely
* style(ci): format QA changelog intent
(cherry picked from commit 6e9e64bd30)
This commit is contained in:
committed by
Vincent Koc
parent
544d35595e
commit
2571ae3d9f
@@ -117,6 +117,11 @@ on:
|
||||
required: false
|
||||
default: false
|
||||
type: boolean
|
||||
allow_unreleased_changelog:
|
||||
description: Allow current-tree QA packaging to use Unreleased notes when no exact version section exists
|
||||
required: false
|
||||
default: false
|
||||
type: boolean
|
||||
workflow_call:
|
||||
inputs:
|
||||
advisory:
|
||||
@@ -129,6 +134,11 @@ on:
|
||||
required: false
|
||||
default: false
|
||||
type: boolean
|
||||
allow_unreleased_changelog:
|
||||
description: Allow current-tree QA packaging to use Unreleased notes when no exact version section exists
|
||||
required: false
|
||||
default: false
|
||||
type: boolean
|
||||
ref:
|
||||
description: Ref, tag, or SHA to validate
|
||||
required: true
|
||||
@@ -330,6 +340,7 @@ permissions:
|
||||
env:
|
||||
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
|
||||
NODE_VERSION: "24.15.0"
|
||||
OPENCLAW_DOCKER_E2E_ALLOW_UNRELEASED_CHANGELOG: ${{ inputs.allow_unreleased_changelog }}
|
||||
|
||||
jobs:
|
||||
validate_selected_ref:
|
||||
@@ -1467,13 +1478,21 @@ jobs:
|
||||
|
||||
- name: Pack OpenClaw package for Docker E2E
|
||||
if: steps.plan.outputs.needs_package == '1' && inputs.package_artifact_name == '' && inputs.package_artifact_run_id == ''
|
||||
env:
|
||||
ALLOW_UNRELEASED_CHANGELOG: ${{ inputs.allow_unreleased_changelog }}
|
||||
shell: bash
|
||||
run: |
|
||||
set -euo pipefail
|
||||
mkdir -p .artifacts/docker-e2e-package
|
||||
node scripts/package-openclaw-for-docker.mjs \
|
||||
--output-dir .artifacts/docker-e2e-package \
|
||||
package_args=(
|
||||
--output-dir .artifacts/docker-e2e-package
|
||||
--output-name openclaw-current.tgz
|
||||
)
|
||||
# Only current-tree QA callers opt in; release and package-candidate callers stay strict.
|
||||
if [[ "$ALLOW_UNRELEASED_CHANGELOG" == "true" ]]; then
|
||||
package_args+=(--allow-unreleased-changelog)
|
||||
fi
|
||||
node scripts/package-openclaw-for-docker.mjs "${package_args[@]}"
|
||||
|
||||
- name: Validate OpenClaw Docker E2E package
|
||||
id: package
|
||||
|
||||
@@ -32,6 +32,7 @@ jobs:
|
||||
include_release_path_suites: true
|
||||
include_openwebui: true
|
||||
include_live_suites: true
|
||||
allow_unreleased_changelog: true
|
||||
secrets:
|
||||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||
OPENAI_BASE_URL: ${{ secrets.OPENAI_BASE_URL }}
|
||||
|
||||
@@ -549,6 +549,7 @@ jobs:
|
||||
include_openwebui: false
|
||||
docker_lanes: ${{ needs.preflight.outputs.plugin_prerelease_docker_lanes }}
|
||||
targeted_docker_lane_group_size: 4
|
||||
allow_unreleased_changelog: true
|
||||
include_live_suites: false
|
||||
live_models_only: false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user