Skip to content

⏲ Update version in the demos repo antora.yaml #104

Open

Description

@NickLarsenNZ

Note

This came out of the 25.3.0 Release Retro.

When demo release branch is created, version needs updating (Antora error about duplicate page detected)

update_demos() {
if [ -d "$BASE_DIR/$DEMOS_REPO" ]; then
cd "$BASE_DIR/$DEMOS_REPO"
git pull && git switch "${RELEASE_BRANCH}"
else
git clone --branch main --depth 1 "git@github.com:stackabletech/${DEMOS_REPO}.git" "$BASE_DIR/$DEMOS_REPO"
cd "$BASE_DIR/$DEMOS_REPO"
git switch "${RELEASE_BRANCH}" || git switch -c "${RELEASE_BRANCH}" "${REMOTE}/${BASE_BRANCH}"
fi
# Search and replace known references to stackableRelease, container images, branch references.
# https://github.com/stackabletech/demos/blob/main/.scripts/update_refs.sh
.scripts/update_refs.sh commit
push_branch "$DEMOS_REPO"
}

Activity

  1. added
    release-retro/25.3.0
    on Apr 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    release-retro/25.3.0

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions