Skip to content

Commit

Permalink
grab version as SemVer with unprefixed pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett committed May 28, 2024
1 parent 6240a98 commit c0a0de4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- id: version
uses: mtkennerly/dunamai-action@v1
with:
args: --strict --pattern "(?P<base>\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 }}
Expand Down

0 comments on commit c0a0de4

Please sign in to comment.