Add Changes #52

Merged
Penry merged 3 commits from v0.1.0-beta into main 2026-06-07 18:01:40 +02:00
Showing only changes of commit 6922303e52 - Show all commits
+15 -5
View File
@@ -32,14 +32,15 @@ jobs:
set -euo pipefail set -euo pipefail
git fetch --force --tags origin git fetch --force --tags origin
git fetch --force origin main
LAST_TAG=$(git tag -l 'v*' --sort=-version:refname | head -n 1) LAST_TAG=$(git tag -l 'v*' --sort=-version:refname | head -n 1)
if [[ -z "$LAST_TAG" ]]; then if [[ -z "$LAST_TAG" ]]; then
LAST_TAG="v0.0.1-alpha" LAST_TAG="v0.0.1-alpha"
DISTANCE=$(git rev-list --count HEAD) DISTANCE=$(git rev-list --count origin/main)
else else
DISTANCE=$(git rev-list "${LAST_TAG}..HEAD" --count) DISTANCE=$(git rev-list "${LAST_TAG}..origin/main" --count)
fi fi
BASE_VERSION="${LAST_TAG#v}" BASE_VERSION="${LAST_TAG#v}"
@@ -51,14 +52,23 @@ jobs:
fi fi
echo "LAST_TAG=$LAST_TAG" >> "$GITHUB_ENV" echo "LAST_TAG=$LAST_TAG" >> "$GITHUB_ENV"
echo "DISTANCE=$DISTANCE" >> "$GITHUB_ENV"
echo "VERSION=$VERSION" >> "$GITHUB_ENV" echo "VERSION=$VERSION" >> "$GITHUB_ENV"
echo "ASSEMBLY_VERSION=${VERSION}.0" >> "$GITHUB_ENV"
echo "FILE_VERSION=${VERSION}.0" >> "$GITHUB_ENV"
echo "Last tag: $LAST_TAG" echo "Last tag: $LAST_TAG"
echo "Distance: $DISTANCE" echo "Distance to origin/main: $DISTANCE"
echo "Final version: $VERSION" echo "Final version: $VERSION"
- name: Debug git state
shell: bash
run: |
git branch -a
git tag -l
git log --oneline --decorate -n 20
echo "HEAD: $(git rev-parse HEAD)"
echo "origin/main: $(git rev-parse origin/main)"
echo "Last tag commit: $(git rev-list -n 1 $LAST_TAG)"
- name: Build Linux ARM64 Docker Image - name: Build Linux ARM64 Docker Image
run: | run: |
docker build \ docker build \