From ac73b24920efd90490e4d979bd4566cff2d29d15 Mon Sep 17 00:00:00 2001 From: Sergey Rymsha Date: Wed, 6 May 2026 16:49:16 +0000 Subject: [PATCH] Bump version to 3.0.0-SNAPSHOT for XP 8 Configure release-branch CI for both master and the 2.x maintenance line, add 2.x to the docgen trigger, and seed docs/versions.json so the developer portal can resolve stable vs. next. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/enonic-docgen.yml | 1 + .github/workflows/enonic-gradle.yml | 3 +++ docs/versions.json | 6 ++++++ 3 files changed, 10 insertions(+) create mode 100644 docs/versions.json diff --git a/.github/workflows/enonic-docgen.yml b/.github/workflows/enonic-docgen.yml index 7186f89..1ee8e21 100644 --- a/.github/workflows/enonic-docgen.yml +++ b/.github/workflows/enonic-docgen.yml @@ -4,6 +4,7 @@ on: push: branches: - "master" + - "2.x" paths: - 'docs/**' workflow_dispatch: diff --git a/.github/workflows/enonic-gradle.yml b/.github/workflows/enonic-gradle.yml index daa6ebd..f2cef6b 100644 --- a/.github/workflows/enonic-gradle.yml +++ b/.github/workflows/enonic-gradle.yml @@ -13,6 +13,9 @@ jobs: with: repoUser: ci repoPassword: ${{ secrets.ARTIFACTORY_PASSWORD }} + releaseBranch: | + master + 2.x release: runs-on: ubuntu-latest diff --git a/docs/versions.json b/docs/versions.json new file mode 100644 index 0000000..723716f --- /dev/null +++ b/docs/versions.json @@ -0,0 +1,6 @@ +{ + "versions": [ + { "label": "stable", "checkout": "2.x", "latest": true }, + { "label": "next", "checkout": "master" } + ] +}