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
# Create a date-based suffix (e.g., ".dev20250707222204")
27
+
# Create a date-based suffix (e.g., ".dev20250719203543")
28
28
NIGHTLY_SUFFIX=".dev$(date +'%Y%m%d%H%M%S')"
29
29
30
-
# Combine them into the full nightly version (e.g., "0.5.0.dev20250707222204")
30
+
# Combine them into the full nightly version (e.g., "0.5.0.dev20250719203543")
31
31
NIGHTLY_VERSION="$BASE_VERSION$NIGHTLY_SUFFIX"
32
32
33
33
echo "Setting package version to: $NIGHTLY_VERSION"
@@ -50,19 +50,13 @@ jobs:
50
50
needs:
51
51
- build
52
52
permissions:
53
-
# This permission is mandatory for trusted publishing.
53
+
# This permission is mandatory for trusted publishing to PyPI.
54
54
id-token: write
55
55
56
-
# Dedicated environments with protections for publishing are strongly recommended.
57
-
# For more information, see: https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#deployment-protection-rules
56
+
# Using a dedicated environment for PyPI is a recommended security practice.
58
57
environment:
59
-
name: testpypi
60
-
# OPTIONAL: uncomment and update to include your PyPI project URL in the deployment status:
61
-
# url: https://pypi.org/p/YOURPROJECT
62
-
#
63
-
# ALTERNATIVE: if your GitHub Release name is the PyPI project version string
64
-
# ALTERNATIVE: exactly, uncomment the following line instead:
0 commit comments