Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MUYSC
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jorge Alfredo Jaimes Teherán
MUYSC
Commits
5cc8ea10
Commit
5cc8ea10
authored
4 years ago
by
Chris Holdgraf
Browse files
Options
Downloads
Patches
Plain Diff
RELEASE: v0.7.2
parent
c439b53c
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
RELEASES.md
+13
-16
13 additions, 16 deletions
RELEASES.md
jupyter_book/__init__.py
+1
-1
1 addition, 1 deletion
jupyter_book/__init__.py
with
14 additions
and
17 deletions
RELEASES.md
+
13
−
16
View file @
5cc8ea10
...
@@ -12,33 +12,30 @@ To create a new release, follow these steps:
...
@@ -12,33 +12,30 @@ To create a new release, follow these steps:
-
Ensure that there aren't any extra issues to tackle in
-
Ensure that there aren't any extra issues to tackle in
[
the milestone for the next release
](
https://github.com/executablebooks/jupyter-book/milestones?direction=asc&sort=due_date
)
[
the milestone for the next release
](
https://github.com/executablebooks/jupyter-book/milestones?direction=asc&sort=due_date
)
-
Remove
`dev0`
from the Jupyter Book version in
`__init__.py`
-
Bump
`__init__.py`
to the version for the release. Use
-
Create a "release commit":
[
semantic versioning
](
https://semver.org/
)
to decide what version to choose.
For example:
```
```
git add jupyter_book
__version__ = "0.6.1"
git commit -m "RLS: <version-number>"
git push upstream master
```
```
-
[
Create a new release
](
https://github.com/executablebooks/jupyter-book/releases/new
)
on GitHub.
-
Create a "release commit":
The tag and title should be
`v<version-number>`
. For example,
`v0.6.0`
.
-
Bump
`__init__.py`
to the next dev version. Increment the minor version and add
`dev0`
to it. e.g.:
```
__version__ = "0.6.1dev0"
```
-
Commit and push to master
```
```
git add jupyter_book
git add jupyter_book
git commit -m "
Dev version bump
"
git commit -m "
🚀RELEASE: <version-number>
"
git push upstream master
git push upstream master
```
```
-
Confirm that a new version of the package
[
is posted to pypi
](
https://pypi.org/project/jupyter-book/
)
-
[
Create a new release
](
https://github.com/executablebooks/jupyter-book/releases/new
)
on GitHub.
The tag and title should be
`v<version-number>`
. For example,
`v0.6.1`
.
-
GitHub Actions will automatically deploy this release to PyPI using
[
this configuration
](
https://github.com/executablebooks/jupyter-book/blob/master/.github/workflows/tests.yml#L86
)
.
-
Confirm that a new version of the package
[
is posted to pypi
](
https://pypi.org/project/jupyter-book/
)
-
Add a changelog for the latest version by using
`github-activity`
:
-
Add a changelog for the latest version by using
`github-activity`
:
```
```
github-activity executablebooks/jupyter-book -s <old-version-tag> -u <new-version-tag>
github-activity executablebooks/jupyter-book -s <old-version-tag> -u <new-version-tag>
```
```
and pasting the result into the release description on GitHub.
Paste the result into the release description on GitHub.
-
You're done! 🎉
This diff is collapsed.
Click to expand it.
jupyter_book/__init__.py
+
1
−
1
View file @
5cc8ea10
...
@@ -5,7 +5,7 @@ from .toc import update_indexname, add_toctree
...
@@ -5,7 +5,7 @@ from .toc import update_indexname, add_toctree
from
.directive.toc
import
TableofContents
,
SwapTableOfContents
from
.directive.toc
import
TableofContents
,
SwapTableOfContents
__version__
=
"
0.7.2
dev0
"
__version__
=
"
0.7.2
"
def
add_static_files
(
app
,
config
):
def
add_static_files
(
app
,
config
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment