Skip to content

Commit

Permalink
release v7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
snarfed committed Jun 25, 2024
1 parent f9cb192 commit 9a67b5c
Show file tree
Hide file tree
Showing 4 changed files with 121 additions and 45 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ Here's how to package, test, and ship a new release. (Note that this is [largely
source local/bin/activate.csh
CLOUDSDK_CORE_PROJECT=granary-demo gcloud emulators firestore start --host-port=:8089 --database-mode=datastore-mode < /dev/null >& /dev/null &
sleep 5
python3 -m unittest discover
python -m unittest discover
kill %1
deactivate
```
Expand All @@ -210,26 +210,26 @@ Here's how to package, test, and ship a new release. (Note that this is [largely
1. `git commit -am 'release vX.Y'`
1. Upload to [test.pypi.org](https://test.pypi.org/) for testing.
```sh
python3 setup.py clean build sdist
python setup.py clean build sdist
setenv ver X.Y
source local/bin/activate.csh
twine upload -r pypitest dist/granary-$ver.tar.gz
```
1. Install from test.pypi.org.
```sh
cd /tmp
python3 -m venv local
python -m venv local
source local/bin/activate.csh
pip3 uninstall granary # make sure we force Pip to use the uploaded version
pip3 install --upgrade pip
pip3 install mf2py==1.1.2
pip3 install -i https://test.pypi.org/simple --extra-index-url https://pypi.org/simple granary==$ver
pip uninstall granary # make sure we force Pip to use the uploaded version
pip install --upgrade pip
pip install mf2py==1.1.2
pip install -i https://test.pypi.org/simple --extra-index-url https://pypi.org/simple granary==$ver
deactivate
```
1. Smoke test that the code trivially loads and runs.
```sh
source local/bin/activate.csh
python3
python
# run test code below
deactivate
```
Expand Down Expand Up @@ -281,7 +281,7 @@ On the open source side, there are many related projects. [php-mf2-shim](https:/
Changelog
---

### 7.0 - unreleased
### 7.0 - 2024-06-24

_Breaking changes:_

Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@
# built documents.
#
# The short X.Y version.
version = '6.2'
version = '7.0'
# The full version, including alpha/beta/rc tags.
release = '6.2'
release = '7.0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
Loading

0 comments on commit 9a67b5c

Please sign in to comment.