Skip to content

Commit 28d994b

Browse files
authored
Merge pull request #768 from swryan/v0.9.10
Incremented version for 0.9.10 release
2 parents b59ebd3 + 9d547e3 commit 28d994b

5 files changed

Lines changed: 47 additions & 8 deletions

File tree

.bumpversion.cfg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 0.9.10-dev
2+
current_version = 0.9.10
33
commit = False
44
tag = False
55
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+))?
@@ -8,8 +8,8 @@ serialize =
88
{major}.{minor}.{patch}
99

1010
[bumpversion:file:aviary/__init__.py]
11-
search = __version__ = "{current_version}"
12-
replace = __version__ = "{new_version}"
11+
search = __version__ = '{current_version}'
12+
replace = __version__ = '{new_version}'
1313

1414
[bumpversion:file:.github/ISSUE_TEMPLATE/bug_report.yml]
1515
search = placeholder: "{current_version}"

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ body:
2121
attributes:
2222
label: Aviary Version
2323
description: What version of Aviary is being used.
24-
placeholder: "0.9.10-dev"
24+
placeholder: "0.9.10"
2525
validations:
2626
required: true
2727
- type: textarea

.github/workflows/release_workflow.yml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,23 @@ jobs:
3434
- name: build
3535
run: hatch build
3636

37-
- name: Publish package distributions to PyPI
38-
uses: pypa/gh-action-pypi-publish@release/v1
37+
- name: Publish package distributions to PyPI (v1.12.4)
38+
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc
39+
40+
test-pypi-release:
41+
name: Test Aviary PyPI Release
42+
needs: [pypi-publish]
43+
runs-on: ubuntu-latest
44+
45+
steps:
46+
- uses: benc-uk/workflow-dispatch@v1
47+
with:
48+
workflow: Test "no dev" install
49+
repo: ${{ github.repository_owner }}/Aviary
50+
inputs: >
51+
{
52+
"run_name": "Test PyPI install",
53+
"use_pypi": true
54+
}
55+
token: ${{ secrets.ACCESS_TOKEN }}
56+
if: github.event_name == 'release'

.github/workflows/test_workflow_no_dev_install.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,20 @@ on:
1414
# Allow running the workflow manually from the Actions tab
1515
workflow_dispatch:
1616

17+
inputs:
18+
run_name:
19+
type: string
20+
description: 'Name of workflow run as it will appear under Actions tab:'
21+
required: false
22+
default: ""
23+
24+
use_pypi:
25+
type: boolean
26+
description: 'Run tests against the published PyPI version of Aviary'
27+
required: false
28+
default: false
29+
30+
1731
jobs:
1832

1933
test_ubuntu_no_dev_install:
@@ -71,7 +85,14 @@ jobs:
7185
echo "Temporarily install specific versions for now."
7286
pip install "numpy<2"
7387
pip install packaging
74-
pip install .[all]
88+
if [[ "${{ inputs.use_pypi }}" == "true" ]]; then
89+
echo "-----------------------------------------------------------"
90+
echo "Installing from PyPI"
91+
echo "-----------------------------------------------------------"
92+
python -m pip install aviary[all]
93+
else
94+
pip install .[all]
95+
fi
7596
7697
- name: Display conda environment info
7798
shell: bash -l {0}

aviary/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '0.9.10-dev'
1+
__version__ = '0.9.10'

0 commit comments

Comments
 (0)