From e40c845f03d161f0f39402ea45d3e05dd16af074 Mon Sep 17 00:00:00 2001 From: Serge K Date: Sun, 24 Sep 2023 12:10:25 +0700 Subject: [PATCH] ci: change dev version format --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6a7bdbe0..c1a92950 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,7 +42,7 @@ jobs: - name: Set Dev version if: github.ref == 'refs/heads/main' - run: echo "VERSION=$(git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/')" >> $GITHUB_ENV + run: echo "VERSION=$(git describe --long --tags | sed 's/^v//;0,/-/s//./')" >> $GITHUB_ENV - name: Set Release version if: startsWith(github.ref, 'refs/tags/v')