Set dev version for dev container (#790)

This commit is contained in:
Jonas Plum
2026-02-07 14:14:47 +01:00
committed by GitHub
parent 12713568e4
commit 687f474900

View File

@@ -13,10 +13,22 @@ jobs:
packages: write packages: write
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with: 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 - name: Login to GHCR
uses: docker/login-action@v3 uses: docker/login-action@v3