You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/publish-to-testpypi.yaml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ jobs:
40
40
# For example, 1.0.2 becomes 1.0.3a0
41
41
hatch version micro,a
42
42
# 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)
44
44
# Set version number to match test.pypi.org
45
45
hatch version $CURRENT_VERSION_NUMBER || echo TestPyPI is behind current version
0 commit comments