Skip to content

Commit 4caac3b

Browse files
authored
Merge pull request #55 from automl/bugfix/make-publish
Fixes in make publish command
2 parents cb9c1e5 + 9a7dd1b commit 4caac3b

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Bug-Fixes
44
- Put in missing "q" values into configspaces to allow using newer ConfigSpace versions.
55
- Fix minimal configspace version.
6+
- Fixes in make publish command.
67

78
# Version 1.1
89

Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# These have been configured to only really run short tasks. Longer form tasks
22
# are usually completed in github actions.
33

4+
SHELL := /bin/bash
5+
VERSION := 1.1.1
6+
47
NAME := DeepCAVE
58
PACKAGE_NAME := deepcave
69

@@ -111,15 +114,15 @@ build:
111114
# Will echo the commands to actually publish to be run to publish to actual PyPi
112115
# This is done to prevent accidental publishing but provide the same conveniences
113116
publish: clean build
114-
read -p "Did you update the version number?"
117+
read -p "Did you update the version number in Makefile and deepcave/__init__.py?"
115118

116119
$(PIP) install twine
117120
$(PYTHON) -m twine upload --repository testpypi ${DIST}/*
118121
@echo
119122
@echo "Test with the following:"
120123
@echo "* Create a new virtual environment to install the uplaoded distribution into"
121124
@echo "* Run the following:"
122-
@echo "--- pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ ${NAME}"
125+
@echo "--- pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ ${PACKAGE_NAME}==${VERSION}"
123126
@echo
124127
@echo "* Run this to make sure it can import correctly, plus whatever else you'd like to test:"
125128
@echo "--- python -c 'import ${PACKAGE_NAME}'"

deepcave/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"Source Code": "https://github.com/automl/deepcave",
1818
}
1919
copyright = f"Copyright {datetime.date.today().strftime('%Y')}, {author}"
20-
version = "1.1"
20+
version = "1.1.1"
2121

2222
_exec_file = sys.argv[0]
2323
_exec_files = ["server.py", "worker.py", "sphinx-build"]

0 commit comments

Comments
 (0)