Skip to content

Commit

Permalink
ci(deps): Update semantic release to avoid rate limits
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswmackey authored and Chris Mackey committed Jul 3, 2024
1 parent 3026b11 commit 8e4b145
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ jobs:
with:
python-version: 3.7
- name: set up node # we need node for for semantic release
uses: actions/setup-node@v2.1.2
uses: actions/setup-node@v4
with:
node-version: 14.2.0
node-version: 22.2.0
- name: install python dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -58,8 +58,8 @@ jobs:
- name: run semantic release
id: new_release
run: |
nextRelease="`npx semantic-release@^17.0.0 --dryRun | grep -oP 'Published release \K.*? ' || true`"
npx semantic-release@^17.0.0
nextRelease="`npx semantic-release@^23.1.1 --dryRun | grep -oP 'Published release \K.*? ' || true`"
npx semantic-release@^23.1.1
echo "::set-output name=tag::$nextRelease"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 2 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
[
"@semantic-release/github",
{
"successComment": false,
"failTitle": false,
"assets": [
{
"path": "docs/model.json",
Expand Down
8 changes: 8 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
recursive-exclude tests *
recursive-exclude docs *
recursive-exclude samples *
recursive-exclude scripts *
recursive-exclude .github *
exclude .gitignore
exclude .releaserc.json
exclude deploy.sh
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,17 @@
url="https://github.com/ladybug-tools-in2/honeybee-schema",
packages=setuptools.find_packages(exclude=["tests", "scripts", "samples"]),
install_requires=requirements,
include_package_data=True,
extras_require={
'cli': ['click==7.1.2']
'cli': ['click>=7.1.2']
},
entry_points={
"console_scripts": ["honeybee-schema = honeybee_schema.cli:main"]
},
classifiers=[
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"Operating System :: OS Independent"
],
Expand Down

0 comments on commit 8e4b145

Please sign in to comment.