Skip to content

Commit f0a5155

Browse files
committed
Merge branch 'staging'
1 parent 10e392f commit f0a5155

File tree

4 files changed

+32
-13
lines changed

4 files changed

+32
-13
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[bumpversion]
22
tag_name = "rc/v{new_version}"
3-
current_version = 1.1.10
3+
current_version = 1.1.15

.github/workflows/build-and-publish-TestPyPI.yml

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# This workflow will increment version patch number, and build and publish
2-
# the python package to TestPyPI upon push or merge to staging branch
1+
# This workflow will increment version patch number, cherry pick this new version to dev,
2+
# and build and publish the package to TestPyPI upon push or merge to staging branch
33

4-
name: Build and Publish to TestPyPI
4+
name: Staging Publish
55

66
on:
77
push:
@@ -13,8 +13,8 @@ on:
1313
- .bumpversion.cfg
1414

1515
jobs:
16-
build-and-publish:
17-
name: Build and publish Package to TestPyPI
16+
publish:
17+
name: Staging Publish
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Checkout
@@ -50,3 +50,22 @@ jobs:
5050
with:
5151
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
5252
repository_url: https://test.pypi.org/legacy/
53+
- name: Checkout Dev
54+
uses: actions/checkout@v3
55+
with:
56+
ref: dev
57+
token: ${{ secrets.ACTIONS_BOT_TOKEN }}
58+
fetch-depth: 0
59+
- name: Auto Bump Commit SHA
60+
run: |
61+
echo "bump_commit=$(git log -n 1 origin/staging --pretty=format:'%H')" >> $GITHUB_ENV
62+
- name: Cherry Pick
63+
env:
64+
commit_name: bot-edgepi
65+
commit_email: bot@edgepi.com
66+
run: |
67+
echo ${{ env.bump_commit }}
68+
git config user.name ${{ env.commit_name }}
69+
git config user.email ${{ env.commit_email }}
70+
git cherry-pick ${{ env.bump_commit }}
71+
git push origin dev

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ edgepi_adc.stop_conversions(ADCNum.ADC_1)
4343
For further details on this and other modules, please refer to each module's documentation by following the links provided in the `Implemented Modules` section below.
4444
# Implemented Modules
4545
The EdgePi SDK contains modules intended to represent each connected peripheral device onboard the EdgePi. Below is a directory of the currently available modules.
46-
* [Thermocouple](src/edgepi/tc)
47-
* [Digital to Analog Converter (DAC)](src/edgepi/dac)
48-
* [Analog to Digital Converter (ADC)](src/edgepi/adc)
49-
* [LED Array](src/edgepi/led)
50-
* [Digital Input (DIN)](src/edgepi/digital_input)
51-
* [Digital Output (DOUT)](src/edgepi/digital_output)
46+
* [Thermocouple](https://github.com/EdgePi-Cloud/edgepi-python-sdk/tree/main/src/edgepi/tc)
47+
* [Digital to Analog Converter (DAC)](https://github.com/EdgePi-Cloud/edgepi-python-sdk/tree/main/src/edgepi/dac)
48+
* [Analog to Digital Converter (ADC)](https://github.com/EdgePi-Cloud/edgepi-python-sdk/tree/main/src/edgepi/adc)
49+
* [LED Array](https://github.com/EdgePi-Cloud/edgepi-python-sdk/tree/main/src/edgepi/led)
50+
* [Digital Input (DIN)](https://github.com/EdgePi-Cloud/edgepi-python-sdk/tree/main/src/edgepi/digital_input)
51+
* [Digital Output (DOUT)](https://github.com/EdgePi-Cloud/edgepi-python-sdk/tree/main/src/edgepi/digital_output)
5252
# Development
5353
Active development SDK versions can be accessed from the following resources:
5454
## Installing from TestPyPi

setup.py

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

88
setuptools.setup(
99
name="edgepi-python-sdk",
10-
version="1.1.10",
10+
version="1.1.15",
1111
author="S.Park",
1212
author_email="spark@osensa.com",
1313
description="EdgePi Python SDK package",

0 commit comments

Comments
 (0)