Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/occt-sdk-release/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ Do not import upstream development branches or source history merely because the
development version has advanced. SDK releases in this repository are intended
to correspond to identifiable upstream release tags.

As of 2026-11-02, the latest upstream stable GitHub Release is `V8.0.1`.
As of 2026-11-22, the latest upstream stable GitHub Release is `V8_0_2`.
Upstream `master` identifies itself as `8.1.0-dev1`, so 8.1 is the next
development line but is not yet a stable release to package.

Expand All @@ -155,8 +155,8 @@ For automatic qualification and publication, the normal policy is:
Prerelease qualification is a separate deliberate process and must not reuse
the stable-release publication path implicitly.
4. Read the GitHub Release's actual `tag_name`; do not derive the tag from its
display name. For example, the 8.0.1 release name is `V8_0_1` while its
actual tag is `V8.0.1`.
display name. Upstream has used both dotted and underscored stable tags: the
8.0.1 release tag is `V8.0.1`, while the 8.0.2 release tag is `V8_0_2`.
5. Peel the published tag to its exact commit and build that commit directly
from `Open-Cascade-SAS/OCCT`.
6. Let the existing lean-profile checks decide whether the release still matches
Expand Down Expand Up @@ -190,7 +190,7 @@ a compatibility change, verify all of the following before editing the profile
or platform baselines:

1. OCCT version, for example `8.0.1`.
2. Upstream GitHub Release tag, for example `V8.0.1`.
2. Upstream GitHub Release tag, for example `V8.0.1` or `V8_0_2`.
3. The commit to which that upstream tag resolves after peeling annotated tags.

Useful checks are:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/build-latest-occt-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
workflow_dispatch:
inputs:
upstream_tag:
description: Optional exact stable upstream tag (for example V8.0.1); empty means latest stable release
description: Optional exact stable upstream tag (for example V8.0.1 or V8_0_2); empty means latest stable release
required: false
type: string
force_qualify:
Expand Down Expand Up @@ -66,11 +66,13 @@ jobs:
test "$(jq -r '.draft' <<<"$release_json")" = "false"
test "$(jq -r '.prerelease' <<<"$release_json")" = "false"
upstream_tag="$(jq -r '.tag_name' <<<"$release_json")"
if [[ ! "$upstream_tag" =~ ^V([0-9]+\.[0-9]+\.[0-9]+)$ ]]; then
if [[ "$upstream_tag" =~ ^V([0-9]+)\.([0-9]+)\.([0-9]+)$ ]] ||
[[ "$upstream_tag" =~ ^V([0-9]+)_([0-9]+)_([0-9]+)$ ]]; then
occt_version="${BASH_REMATCH[1]}.${BASH_REMATCH[2]}.${BASH_REMATCH[3]}"
else
echo "unsupported stable OCCT tag: $upstream_tag" >&2
exit 1
fi
occt_version="${BASH_REMATCH[1]}"

object_json="$(gh api "repos/$UPSTREAM_REPOSITORY/git/ref/tags/$upstream_tag")"
object_type="$(jq -r '.object.type' <<<"$object_json")"
Expand Down
Loading