Skip to content

Commit aade414

Browse files
Update .github/workflows/publish-to-testpypi.yaml
Co-authored-by: Copilot <[email protected]>
1 parent 26ee299 commit aade414

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish-to-testpypi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
# For example, 1.0.2 becomes 1.0.3a0
4141
hatch version micro,a
4242
# Get latest version number from test.pypi.org
43-
CURRENT_VERSION_NUMBER=$(pip index versions --pre --index-url https://test.pypi.org/simple seclab-taskflow-agent | sed s'/[^(]*[(]\([^)]*\)[)].*/\1/' | head -n 1)
43+
CURRENT_VERSION_NUMBER=$(pip index versions --pre --index-url https://test.pypi.org/simple seclab-taskflow-agent | sed 's/[^(]*[(]\([^)]*\)[)].*/\1/' | head -n 1)
4444
# Set version number to match test.pypi.org
4545
hatch version $CURRENT_VERSION_NUMBER || echo TestPyPI is behind current version
4646
# Bump version number

0 commit comments

Comments
 (0)