From 39962194036ffe7baa87bcb94f775de766b8eefd Mon Sep 17 00:00:00 2001 From: Marc Durdin Date: Tue, 16 Jun 2026 15:31:43 +0200 Subject: [PATCH] maint: move bootstrap version reference to resources/.bootstrap-required-version Relates-to: keymanapp/keyman.com#794 Test-bot: skip --- .github/workflows/deploy-release.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy-release.yml b/.github/workflows/deploy-release.yml index 74d7798..bd52233 100644 --- a/.github/workflows/deploy-release.yml +++ b/.github/workflows/deploy-release.yml @@ -43,15 +43,14 @@ jobs: cd keymanapp for repo in *; do cd "$repo" - if [ -f build.sh ]; then - sed -i "s/^readonly BOOTSTRAP_VERSION=.*/readonly BOOTSTRAP_VERSION=${BOOTSTRAP_VERSION}/" build.sh - git checkout -b auto/update-bootstrap-version-${BOOTSTRAP_VERSION} - git add build.sh - git commit -m "chore: update BOOTSTRAP_VERSION to ${BOOTSTRAP_VERSION}" - git remote set-url --push origin "https://keyman-server:${GITHUB_TOKEN}@github.com/keymanapp/$repo.git" - git push -u origin auto/update-bootstrap-version-${BOOTSTRAP_VERSION} - gh pr create --title "auto: update shared-sites version to ${BOOTSTRAP_VERSION}" --label auto --reviewer darcywong00,mcdurdin,ermshiperete --body "Update BOOTSTRAP_VERSION to [${BOOTSTRAP_VERSION}](https://github.com/keymanapp/shared-sites/releases/tag/${BOOTSTRAP_VERSION})." --repo "keymanapp/${PWD##*/}" - fi + mkdir -p resources + echo "${BOOTSTRAP_VERSION}" > resources/.bootstrap-required-version + git checkout -b auto/update-bootstrap-version-${BOOTSTRAP_VERSION} + git add resources/.bootstrap-required-version + git commit -m "chore: update BOOTSTRAP_VERSION to ${BOOTSTRAP_VERSION}" + git remote set-url --push origin "https://keyman-server:${GITHUB_TOKEN}@github.com/keymanapp/$repo.git" + git push -u origin auto/update-bootstrap-version-${BOOTSTRAP_VERSION} + gh pr create --title "auto: update shared-sites version to ${BOOTSTRAP_VERSION}" --label auto --body "Update BOOTSTRAP_VERSION to [${BOOTSTRAP_VERSION}](https://github.com/keymanapp/shared-sites/releases/tag/${BOOTSTRAP_VERSION})." --repo "keymanapp/${PWD##*/}" cd .. done env: