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
# Use poetry to bump the version in pyproject.toml
88
89
poetry version "$NEW_RELEASE_VERSION"
@@ -101,12 +102,12 @@ runs:
101
102
# be broken with beta/alpha releases, and might need an explicit check
102
103
# somehow to ensure we're not releasing poorly against a branch that
103
104
# shouldn't do so
104
-
if [[ "${{ inputs.dry-run }}" == "false" ]]; then
105
+
if [[ "$DRY_RUN" == "false" ]]; then
105
106
git push || { echo "::error:: Failed to push version update for pyproject.toml, check your github-token permissions, or branch protections."; exit 1; }
106
107
fi
107
108
108
109
# Nice logging, generate success exit code from this run step
109
-
echo "::notice::Version successfully updated in pyproject.toml to ${{ steps.version.outputs.new_release_version }}."
110
+
echo "::notice::Version successfully updated in pyproject.toml to $NEW_RELEASE_VERSION."
0 commit comments