Skip to content

Commit 5972c1b

Browse files
authored
Merge pull request #25 from DataCrunch-io/update-publish-steps-and-fix-typo
Update publish steps and fix typo
2 parents ace9a27 + dc45334 commit 5972c1b

File tree

5 files changed

+14
-6
lines changed

5 files changed

+14
-6
lines changed

CONTRIBUTING.rst

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,14 @@ Release Guidelines
6464
------------------------
6565
Some steps for releasing a new version:
6666

67-
1. Update the version in `__version__.py`
67+
1. Update the version in ``__version__.py``
6868
2. Add an entry to the CHANGELOG.rst file
69-
3. Push the changes to the `master` branch and add a new release tag.
69+
3. ``git tag vX.Y.Z``
70+
4. ``git push master``
71+
5. ``git push --tags``
72+
6. `Draft and publish`_ a new release.
73+
7. Check that package is automatically published to `PyPI`_ via `GitHub action`_.
74+
75+
.. _Draft and publish: https://github.com/DataCrunch-io/datacrunch-python/releases
76+
.. _PyPI: https://pypi.org/project/datacrunch/
77+
.. _GitHub action: https://github.com/DataCrunch-io/datacrunch-python/actions/workflows/publish_package.yml

docs/source/examples/advanced_create_instance.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Advanced Create Instance
6060
ssh_key_ids=ssh_keys_ids,
6161
hostname='example',
6262
description='large instance'
63-
os_volumes={
63+
os_volume={
6464
"name": "Large OS volume",
6565
"size": 95
6666
})

docs/source/examples/instances_and_volumes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Instances and Volumes
4242
ssh_key_ids=ssh_keys,
4343
hostname='example',
4444
description='example instance',
45-
os_volumes={
45+
os_volume={
4646
"name": "OS volume",
4747
"size": 95
4848
})

examples/advanced_create_instance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
ssh_key_ids=ssh_keys_ids,
5656
hostname='example',
5757
description='large instance',
58-
os_volumes={
58+
os_volume={
5959
"name": "Large OS volume",
6060
"size": 95
6161
})

examples/instances_and_volumes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
ssh_key_ids=ssh_keys,
3737
hostname='example',
3838
description='example instance',
39-
os_volumes={
39+
os_volume={
4040
"name": "OS volume",
4141
"size": 95
4242
})

0 commit comments

Comments
 (0)