Skip to content

Commit

Permalink
Fixes to README and release instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
adrhill committed Aug 1, 2022
1 parent e82409d commit f2fbb84
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,11 @@ import tensorflow.keras.applications.vgg16 as vgg16
tf.compat.v1.disable_eager_execution()

import innvestigate
import innvestigate.utils

# Get model
model, preprocess = vgg16.VGG16(), vgg16.preprocess_input
# Strip softmax layer
model = innvestigate.utils.model_wo_softmax(model)
model = innvestigate.model_wo_softmax(model)

# Create analyzer
analyzer = innvestigate.create_analyzer("deep_taylor", model)
Expand Down
10 changes: 6 additions & 4 deletions todo_before_release.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,18 @@
poetry run sphinx-build docs/source docs/_build
```
- Update release in `VERSION.md`, `setup.py` and button of `README.md`.
- Make release
- Push master and develop branch, and tags
- Switch to master branch
- Upload new packages to test server:
```bash
poetry build
poetry config repositories.testpypi https://test.pypi.org/legacy/
poetry publish -r testpypi
```
- Check that everything works
- Check that the installation from the test server works, e.g. via
```bash
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple innvestigate
```
- Tag commit according to [Semantic Versioning](https://semver.org) guidelines, e.g. `2.0.0`
- Go to releases tab on GitHub and "Create a new release"
- Upload new packages to real server:
```bash
poetry publish
Expand Down

0 comments on commit f2fbb84

Please sign in to comment.