Skip to content

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

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"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    release-retro/25.3.0Indicates this issue or PR is part of improvements resulting from the 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