Skip to content

Commit 8c61aeb

Browse files
committed
Releasing 0.1.5
1 parent 6524bf3 commit 8c61aeb

File tree

5 files changed

+17
-34
lines changed

5 files changed

+17
-34
lines changed

.github/workflows/create_git_release.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.github/workflows/pypi_release.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
types:
77
- completed
88
branches:
9-
- v0.1.4
9+
- v0.1.5
1010

1111
jobs:
1212
publish:
@@ -17,7 +17,7 @@ jobs:
1717
- name: Checkout source
1818
uses: actions/checkout@v3
1919
with:
20-
ref: v0.1.4
20+
ref: v0.1.5
2121
- name: Set up Python 3.11
2222
uses: actions/setup-python@v4
2323
with:
@@ -31,3 +31,15 @@ jobs:
3131
with:
3232
user: __token__
3333
password: ${{ secrets.DPLPY_PYPI }}
34+
- name: Create Release
35+
id: create_release
36+
uses: actions/create-release@v1
37+
env:
38+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
39+
with:
40+
tag_name: v0.1.5
41+
release_name: v0.1.5
42+
body: |
43+
Testing auto deployment to pypi and git.
44+
draft: false
45+
prerelease: true

dplpy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
__author__ = "Tyson Lee Swetnam"
44
__email__ = "[email protected]"
5-
__version__ = "0.1.4"
5+
__version__ = "0.1.5"
66

77
__copyright__ = """
88
dplPy for tree ring width time series analyses

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ build-backend = "setuptools.build_meta"
99
name="dplpy"
1010
description="Dendrochronology Program Library for Python"
1111
readme="README.md"
12-
version="0.1.4"
12+
version="0.1.5"
1313
authors=[
1414
{name='Tyson Lee Swetnam', email='[email protected]'},
1515
{name='Ifeoluwa Ale', email='[email protected]'},

release-instructions.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,4 @@ In the main branch of the dplpy github repository, update the following files in
99
- In the `pyproject.toml` file, update the version number in the `[project]` section to match the new version number set in `__init__.py`.
1010
- In the `.github/workflows` folder, find `pypi_release.yml` and update the branch name for the workflow to run in to v + the new version number(i.e., v0.1.1 if the version number is 0.1.1).
1111
- Still in `pypi_release.yml`, ensure that the first step of the workflow uses code from the branch name you just set the workflow to run in (which should be named v + the version number).
12-
- In the `.github/workflows` folder, find `create_git_release.yml` and update the `branches` field of the workflow_run trigger to v + the new version number (e.g., v0.1.1 if the version number is 0.1.1).
13-
- Still in `create_git_release.yml`, update the name of the tag being created to v + the new version number, and change the release name to the new version number.
14-
- Still in `create_git_release.yml`, update the description of the git release using the `body` field located under the tag name and release name. You can also set the release as a draft or prerelease using the remaining fields.
12+
- Still in `pypi_release.yml`, update the name of the tag being created in the create release step to v + the new version number, and change the release name to the new version number. Finally, update the description of the git release using the `body` field located under the tag name and release name. You can also set the release as a draft or prerelease using the remaining fields.

0 commit comments

Comments
 (0)