Skip to content

Commit

Permalink
chore: fix pyproject regex
Browse files Browse the repository at this point in the history
  • Loading branch information
MitchellAcoustics committed Nov 5, 2024
1 parent b49225c commit bcaee52
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/tag-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
# Get suffix if exists (everything after the hyphen)
SUFFIX=$(echo $VERSION_STR | cut -d'-' -f2- -s || echo "")
echo "version_str=$VERSION_STR" >> "$GITHUB_OUTPUT"
echo "new_version=$NEW_VERSION" >> "$GITHUB_OUTPUT"
echo "suffix=$SUFFIX" >> "$GITHUB_OUTPUT"
echo "tag_name=$TAG_NAME" >> "$GITHUB_OUTPUT"
Expand All @@ -52,6 +53,7 @@ jobs:
- name: Verify version matches pyproject.toml
run: |
VERSION_STR=${{ steps.release.outputs.version_str }}
TOML_VERSION=$(grep -oP '^version = "\K[^"]+' pyproject.toml)
if [ "${VERSION_STR}" != "${TOML_VERSION}" ]; then
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 = "soundscapy"
version = "0.7.5-a4"
version = "0.7.5-a5"
description = "A python library for analysing and visualising soundscape assessments."
authors = [
{ name = "Andrew Mitchell", email = "[email protected]" }
Expand Down

0 comments on commit bcaee52

Please sign in to comment.