We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 321414d commit b49f399Copy full SHA for b49f399
release
@@ -1,8 +1,13 @@
1
#!/usr/bin/env bash
2
set -eo pipefail; [[ $RELEASE_TRACE ]] && set -x
3
4
-PACKAGE_NAME='github-backup'
5
-INIT_PACKAGE_NAME='github_backup'
+if [[ ! -f setup.py ]]; then
+ echo -e "${RED}WARNING: Missing setup.py${COLOR_OFF}\n"
6
+ exit 1
7
+fi
8
+
9
+PACKAGE_NAME="$(cat setup.py | grep "name='" | head | cut -d "'" -f2)"
10
+INIT_PACKAGE_NAME="$(echo "${PACKAGE_NAME//-/_}")"
11
PUBLIC="true"
12
13
# Colors
0 commit comments