From c0a0de4b3f594026c375268b649c8a524bd13726 Mon Sep 17 00:00:00 2001 From: zacharyburnett Date: Tue, 28 May 2024 14:22:56 -0400 Subject: [PATCH] grab version as SemVer with unprefixed pattern --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0eb71c742..cceb18206 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,7 +41,7 @@ jobs: - id: version uses: mtkennerly/dunamai-action@v1 with: - args: --strict --pattern "(?P\d+\.\d+\.\d+)" + args: --strict dunamai from any --strict --pattern "default-unprefixed" --style semver - id: filename run: echo "filename=jwql_conda_py${{ matrix.python-version }}_${{ steps.version.outputs.version }}.yml" >> $GITHUB_OUTPUT - run: conda env export --no-build | grep -v "name:" | grep -v "prefix:" > ${{ steps.filename.outputs.filename }}