From fccd50e48931e0b2bbad6dccb0f2f3abdd720c63 Mon Sep 17 00:00:00 2001 From: Andy Date: Mon, 24 Aug 2026 10:48:45 +0200 Subject: [PATCH 1/2] adjust-promotion-message --- .circleci/config.yml | 3 +-- .circleci/src/jobs/promote-release.yml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2c303e14..7f5c3b8f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -512,7 +512,7 @@ jobs: - run: command: | NEW_VERSION=$(jq -r .versionName version.json) - MESSAGE="##### Lunes CMS version [${NEW_VERSION}](https://github.com/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}/releases/tag/${NEW_VERSION}) has been released successfully :tada:" + MESSAGE="##### Lunes CMS version [${NEW_VERSION}](https://github.com/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}/releases/tag/${NEW_VERSION}) has been promoted successfully to production and will be available within the next hours :tada:" npx --no app-toolbelt v0 notify mattermost \ --message "${MESSAGE}" \ --channel releases \ @@ -812,4 +812,3 @@ workflows: - matches: pattern: ^(release|hotfix)-.* value: << pipeline.git.branch >> - diff --git a/.circleci/src/jobs/promote-release.yml b/.circleci/src/jobs/promote-release.yml index 36c5f8ef..2f528032 100644 --- a/.circleci/src/jobs/promote-release.yml +++ b/.circleci/src/jobs/promote-release.yml @@ -19,7 +19,7 @@ steps: name: Notify mattermost about production release command: | NEW_VERSION=$(jq -r .versionName version.json) - MESSAGE="##### Lunes CMS version [${NEW_VERSION}](https://github.com/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}/releases/tag/${NEW_VERSION}) has been released successfully :tada:" + MESSAGE="##### Lunes CMS version [${NEW_VERSION}](https://github.com/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}/releases/tag/${NEW_VERSION}) has been promoted successfully to production and will be available within the next hours :tada:" npx --no app-toolbelt v0 notify mattermost \ --message "${MESSAGE}" \ --channel releases \ From a2b65140bfd1bcae8d11c8b156c02c0573d88ef2 Mon Sep 17 00:00:00 2001 From: Andy Date: Wed, 2 Sep 2026 13:03:33 +0200 Subject: [PATCH 2/2] adjust-promotion-message: add highstate info --- .circleci/config.yml | 2 +- .circleci/src/jobs/promote-release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7f5c3b8f..d5cfbf11 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -512,7 +512,7 @@ jobs: - run: command: | NEW_VERSION=$(jq -r .versionName version.json) - MESSAGE="##### Lunes CMS version [${NEW_VERSION}](https://github.com/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}/releases/tag/${NEW_VERSION}) has been promoted successfully to production and will be available within the next hours :tada:" + MESSAGE="##### Lunes CMS version [${NEW_VERSION}](https://github.com/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}/releases/tag/${NEW_VERSION}) has been promoted successfully to production :tada:"$'\n'"It goes live on lunes-prod with the next highstate – please run it to complete the release." npx --no app-toolbelt v0 notify mattermost \ --message "${MESSAGE}" \ --channel releases \ diff --git a/.circleci/src/jobs/promote-release.yml b/.circleci/src/jobs/promote-release.yml index 2f528032..1af3c968 100644 --- a/.circleci/src/jobs/promote-release.yml +++ b/.circleci/src/jobs/promote-release.yml @@ -19,7 +19,7 @@ steps: name: Notify mattermost about production release command: | NEW_VERSION=$(jq -r .versionName version.json) - MESSAGE="##### Lunes CMS version [${NEW_VERSION}](https://github.com/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}/releases/tag/${NEW_VERSION}) has been promoted successfully to production and will be available within the next hours :tada:" + MESSAGE="##### Lunes CMS version [${NEW_VERSION}](https://github.com/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}/releases/tag/${NEW_VERSION}) has been promoted successfully to production :tada:"$'\n'"It goes live on lunes-prod with the next highstate – please run it to complete the release." npx --no app-toolbelt v0 notify mattermost \ --message "${MESSAGE}" \ --channel releases \