From 687f4749001dc893fe1a2bb2271946503f7b047c Mon Sep 17 00:00:00 2001 From: Jonas Plum Date: Sat, 7 Feb 2026 14:14:47 +0100 Subject: [PATCH] Set dev version for dev container (#790) --- .github/workflows/release_dev.yaml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release_dev.yaml b/.github/workflows/release_dev.yaml index 8d681938..e5e16231 100644 --- a/.github/workflows/release_dev.yaml +++ b/.github/workflows/release_dev.yaml @@ -13,10 +13,22 @@ jobs: packages: write steps: - uses: actions/checkout@v4 - - name: Setup Go - uses: actions/setup-go@v5 with: - go-version: '1.22' + fetch-depth: 0 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '22' + + - name: Bump versions + run: | + LAST_TAG=$(git describe --tags --abbrev=0) + BASE_VERSION=${LAST_TAG#v} + FULL_SHA=$(git rev-parse HEAD) + VERSION="${BASE_VERSION}-dev+${FULL_SHA}" + cd web && npm version $VERSION --no-git-tag-version && cd .. + cd docs && npm version $VERSION --no-git-tag-version && cd .. - name: Login to GHCR uses: docker/login-action@v3