Skip to content

Commit

Permalink
bump and fix prerelease conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
mxndtaylor committed Jun 3, 2024
1 parent b239cf8 commit 88db0f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pypi-publish-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ jobs:
git config --global user.email '[email protected]'
pdm bump tag && git push --tags
tag=$( pdm show --version )
tag_is_full_release=$( test "${tag}" "=~" "^v[0-9]+.[0-9]+.[0-9]+\$" && "TRUE" || "FALSE" )
tag_is_full_release=$( test "${tag}" "=~" "^v[0-9]+.[0-9]+.[0-9]+\$" && echo 'TRUE' || echo 'FALSE' )
echo "tag=${tag}" >> "$GITHUB_OUTPUT"
echo "full-release=${tag_is_full_release}"
- name: Test and get reports
run: pdm reports
- uses: "marvinpinto/action-automatic-releases@latest"
id: gh-release
with:
prerelease: ${{ ! steps.tagger.full-release }}
prerelease: ${{ steps.tagger.full-release == 'FALSE' }}
automatic_release_tag: ${{ steps.tagger.tag }}
repo_token: "${{ secrets.GITHUB_TOKEN }}"
files: |
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "aliasing"
version = "0.3.0a3"
version = "0.3.0a4"
description = "Default template for PDM package"
authors = [
{ name = "mxt", email = "[email protected]" },
Expand Down

0 comments on commit 88db0f6

Please sign in to comment.