Skip to content

Commit

Permalink
version bump to 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanhammonds committed Jan 19, 2021
1 parent 63b5ae7 commit f5b3bcb
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 18 deletions.
6 changes: 2 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,9 @@ bycycle - cycle-by-cycle analysis of neural oscillations
.. |Publication| image:: https://img.shields.io/badge/publication-10.1152%2Fjn.00273.2019-blue
.. _Publication: https://journals.physiology.org/doi/abs/10.1152/jn.00273.2019

NOTE: `ByCycle` is currently under-going a major new version update.
Version 1.0.0 is not compatible with prior releases.

The development version in this repository is no longer compatible with prior releases.

Check the `changelog <https://bycycle-tools.github.io/bycycle/v1.0.0rc2/changelog.html>`_ for notes on updating to the new version.
Check the `changelog <https://bycycle-tools.github.io/bycycle/v1.0.0/changelog.html>`_ for notes on updating to the new version.

Overview
--------
Expand Down
2 changes: 1 addition & 1 deletion bycycle/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""Set the current pypi version"""
__version__ = '1.0.0rc2'
__version__ = '1.0.0'
16 changes: 5 additions & 11 deletions doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ SPHINXBUILD = sphinx-build
SPHINXPROJ = bycycle
SOURCEDIR = .
BUILDDIR = _build
STABLE = 0.1.3
DEVELOPMENT = 1.0.0rc2
RECENT = ""
STABLE = 1.0.0
DEVELOPMENT = ""
RECENT = 0.1.3

# Put it first so that "make" without argument is like "make help".
help:
Expand Down Expand Up @@ -67,15 +67,8 @@ html-multi:
# Create clean branches
git branch -D v$(STABLE) || true
git branch v$(STABLE) tags/$(STABLE)
git branch -D v$(DEVELOPMENT) || true
git branch v$(DEVELOPMENT) tags/$(DEVELOPMENT)
# Checkout the stable release tag
git checkout v$(STABLE)
# Ensure navbar template exists
if [ ! -f _templates/navbar.html ]; then \
git checkout v$(DEVELOPMENT) _templates/navbar.html -3; \
git commit -m "navbar updated"; \
fi
# Create the stable site
make html
rm -rf _build/doctrees auto_examples auto_tutorials generated
Expand All @@ -86,7 +79,8 @@ html-multi:
$(eval BUILDS := $(DEVELOPMENT) $(RECENT))
for v in $(BUILDS); do \
if [ -z $$v ]; then continue; fi; \
if [ ! $$v = $(DEVELOPMENT) ]; then git branch -D v$$v || true; git branch v$$v tags/$$v; fi;\
git branch -D v$$v || true; \
git branch v$$v tags/$$v; \
git checkout v$$v; \
make html; \
mkdir -p _build/html_stable/v$$v; \
Expand Down
4 changes: 2 additions & 2 deletions doc/_templates/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<span class="caret"></span>
</button>
<ul class="dropdown-menu" aria-labelledby="dLabelMore">
<li><a href="https://bycycle-tools.github.io/bycycle/v1.0.0rc2/index.html">v1.0.0rc2</a></li>
<li><a href="https://bycycle-tools.github.io/bycycle/index.html">v0.1.3(stable)</a></li>
<li><a href="https://bycycle-tools.github.io/bycycle/index.html">v1.0.0(stable)</a></li>
<li><a href="https://bycycle-tools.github.io/bycycle/v0.1.3/index.html">v0.1.3</a></li>
</ul>
</li>
{% endblock %}

0 comments on commit f5b3bcb

Please sign in to comment.