Skip to content

Commit

Permalink
as per docs
Browse files Browse the repository at this point in the history
  • Loading branch information
brenthuisman committed Aug 10, 2023
1 parent 217c776 commit 61342af
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 13 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ After much more delay than anticipated, we are very happy to present a new Arbor
## New Contributors
* @musicinmybrain made their first contribution in https://github.com/arbor-sim/arbor/pull/2080

**Full Changelog**: https://github.com/arbor-sim/arbor/compare/v0.8...v0.9.0-rc
**Full Changelog**: https://github.com/arbor-sim/arbor/compare/v0.8.1...v0.9.0


# v0.8.1
Expand Down
10 changes: 5 additions & 5 deletions CITATION.bib
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ @software{nora_abi_akar_2022_7473671
Simon Frasch and
Lukas Drescher and
Lennart Landsmeer},
title = {Arbor Library v0.8.1},
title = {Arbor Library v0.9.0},
month = nov,
year = 2022,
publisher = {Zenodo},
version = {v0.8},
doi = {10.5281/zenodo.7473671},
url = {https://doi.org/10.5281/zenodo.7473671}
}
version = {v0.9.0},
doi = {10.5281/zenodo.8233847},
url = {https://doi.org/10.5281/zenodo.8233847}
}
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.9.0
0.9.1-dev
8 changes: 5 additions & 3 deletions doc/contrib/release.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Release

#. Upload to pypi & verify

Get the wheels from test PyPI or the Github Action that produced the release artifacts.
Get the wheels from test PyPI or the Github Action that produced the release artifacts. Make sure you have pip installed ``twine`` and have your ``~/.pypirc`` file setup with the right token (see `docs <https://packaging.python.org/en/latest/specifications/pypirc/>`_).

.. code-block:: bash
Expand All @@ -106,7 +106,9 @@ Release
#. Create Github Release: https://github.com/arbor-sim/arbor/releases

- The Github action that produced the release artifacts should have prepared a draft Release.
- If not:
- Update body text with ``CHANGELOG.md``
- (Probably: delete the Github draft release for the ``-rc``)
- If no Github Release was automatically drafted:
- Go to `GH tags`_ and click “…” and “Create release”
- Categorize/edit Github's autogenerated release notes (alternatively go through merged PRs to come up with a changelog).
- Manually build full tarball:
Expand All @@ -118,7 +120,7 @@ Release
Post Release
------------

#. Start a new release on Zenodo, this allocated a DOI, but you don't have to finish it right away. Add new Zenodo badge/link to docs/README.
#. Start a new release on Zenodo, this allocated a DOI, but you don't have to finish it right away. Add new Zenodo DOI badge/link to ``CITATION.bib`` and ``docs/index.rst``.

#. Update Zenodo with authors and changelog created in previous step and submit.

Expand Down
6 changes: 6 additions & 0 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ The Arbor software can be cited by version via Zenodo or via Arbors introductory
Latest version
|zlatest|

Version 0.9.0
|z090|

Version 0.8.1
|z081|

Expand Down Expand Up @@ -92,6 +95,9 @@ Cite (Bibtex format)
.. |zlatest| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.1459678.svg
:target: https://doi.org/10.5281/zenodo.1459678

.. |z090| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.8233847.svg
:target: https://doi.org/10.5281/zenodo.8233847

.. |z081| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.7473671.svg
:target: https://doi.org/10.5281/zenodo.7473671

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "arbor"
version = "0.9.0" # TODO: make dependent on VERSION file. Blocked by https://github.com/scikit-build/scikit-build-core/issues/230
version = "0.9.1-dev" # TODO: make dependent on VERSION file. Blocked by https://github.com/scikit-build/scikit-build-core/issues/230
readme = {file = "README.md", content-type = "text/markdown"}
license = {file = "LICENSE"}
description = "High performance simulation of networks of multicompartment neurons."
Expand Down
4 changes: 2 additions & 2 deletions scripts/check-all-tags.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ PREFIX="${1:-} `pwd`/build/bin"
cxx=/usr/local/opt/llvm/bin/clang++
cc=/usr/local/opt/llvm/bin/clang

for tag in v0.4 v0.5.2 v0.6 v0.7 v0.8 v0.8.1
for tag in v0.4 v0.5.2 v0.6 v0.7 v0.8 v0.8.1 v0.9.0
do
echo "Version=$tag"
rm -rf ext/*
Expand Down Expand Up @@ -54,7 +54,7 @@ check () {
fi
}

for tag in "v0.4-79855b66" "v0.5.2-51e35898" "v0.6-930c23eb" "v0.7-d0e424b4" "v0.8-8e82ec1" "v0.8.1-c683a1f"
for tag in "v0.4-79855b66" "v0.5.2-51e35898" "v0.6-930c23eb" "v0.7-d0e424b4" "v0.8-8e82ec1" "v0.8.1-c683a1f" "v0.9.0-217c776"
do
echo "Version=$tag"
for simd in ON OFF
Expand Down
5 changes: 5 additions & 0 deletions spack/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ class Arbor(CMakePackage, CudaPackage):

version("master", branch="master")
version("develop")
version(
"0.9.0",
sha256="5f9740955c821aca81e23298c17ad64f33f635756ad9b4a0c1444710f564306a",
url="https://github.com/arbor-sim/arbor/releases/download/v0.9.0/arbor-v0.9.0-full.tar.gz",
)
version(
"0.8.1",
sha256="caebf96676ace6a9c50436541c420ca4bb53f0639dcab825de6fa370aacf6baa",
Expand Down

0 comments on commit 61342af

Please sign in to comment.