From 26e8c8c216a58ab0ac339eae3a8d0e5e7418214d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20L=C3=B6hr?= Date: Sun, 9 Aug 2026 20:53:34 +0200 Subject: [PATCH 1/2] feat(HAKO-126): Bump version through all files by GH action --- .github/workflows/bump_version.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/bump_version.yml diff --git a/.github/workflows/bump_version.yml b/.github/workflows/bump_version.yml new file mode 100644 index 0000000..b5a5e4b --- /dev/null +++ b/.github/workflows/bump_version.yml @@ -0,0 +1,28 @@ +name: "[!Version] Bump all version notes" +on: + workflow_dispatch: + inputs: + version: + description: 'Version number to bump to (e.g. 1.2.3)' + required: true + default: '1.3.3' + +concurrency: + group: 'bump-version' + cancel-in-progress: true + +jobs: + bump-version: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Bump version in config.yaml + run: | + VERSION="${{ github.event.inputs.version }}" + sed -i -E "s/^version:.*/version: \"${VERSION}\"/" haoskiosk/config.yaml + find haoskiosk/* -type f -exec sed -i -E "s/^# Version: [0-9]+\.[0-9]+\.[0-9]+$/# Version: ${VERSION}/" {} + + git add haoskiosk/* + git commit -m "Bump version to ${VERSION}" || echo "No changes to commit" + git push || echo "No changes to push" \ No newline at end of file From 58d561c926b5663c5b049417ae85c82d9aafd05b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20L=C3=B6hr?= Date: Sun, 9 Aug 2026 21:20:20 +0200 Subject: [PATCH 2/2] feat(HAKO-126): Add skip ci flag --- .github/workflows/bump_version.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bump_version.yml b/.github/workflows/bump_version.yml index b5a5e4b..acc8235 100644 --- a/.github/workflows/bump_version.yml +++ b/.github/workflows/bump_version.yml @@ -24,5 +24,5 @@ jobs: sed -i -E "s/^version:.*/version: \"${VERSION}\"/" haoskiosk/config.yaml find haoskiosk/* -type f -exec sed -i -E "s/^# Version: [0-9]+\.[0-9]+\.[0-9]+$/# Version: ${VERSION}/" {} + git add haoskiosk/* - git commit -m "Bump version to ${VERSION}" || echo "No changes to commit" + git commit -m "[skip ci] Bump version to ${VERSION}" || echo "No changes to commit" git push || echo "No changes to push" \ No newline at end of file