Skip to content

Commit

Permalink
[build] Address deprecations and make sure you're inside the pipenv s…
Browse files Browse the repository at this point in the history
…hell when releasing
alichtman committed Jul 12, 2024

Verified

This commit was signed with the committer’s verified signature.
alichtman Aaron Lichtman
1 parent 57e2074 commit 93a6211
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions scripts/release.sh
Original file line number Diff line number Diff line change
@@ -9,6 +9,12 @@ if [[ ! -d ".git" ]]; then
exit 1;
fi

# Check if inside the pipenv virtual environment
if [[ "$PIPENV_ACTIVE" != "1" ]]; then
echo 'Must be inside the pipenv virtual environment!';
exit 1;
fi

# Check if on main
BRANCH=$(git rev-parse --abbrev-ref HEAD)
if [[ "$BRANCH" != "main" ]]; then
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[metadata]
description-file = README.md
description_file = README.md

[bdist_wheel]
# This flag says to generate wheels that support both Python 2 and Python

0 comments on commit 93a6211

Please sign in to comment.