-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #181 from smoia/auto
Implement automatic release
- Loading branch information
Showing
9 changed files
with
273 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
{ | ||
"plugins": [ | ||
"git-tag", | ||
"all-contributors", | ||
"conventional-commits", | ||
"first-time-contributor", | ||
"released" | ||
], | ||
"release": { | ||
"prerelease": true | ||
}, | ||
"owner": "physiopy", | ||
"repo": "phys2bids", | ||
"name": "Stefano Moia", | ||
"email": "s.moia@bcbl.eu", | ||
"labels": [ | ||
{ | ||
"name": "Majormod", | ||
"changelogTitle": "💥 Breaking Change", | ||
"description": "This PR breaks compatibility, and increments the major version (+1.0.0)", | ||
"releaseType": "major", | ||
"overwrite": true | ||
}, | ||
{ | ||
"name": "Minormod", | ||
"changelogTitle": "🚀 Enhancement", | ||
"description": "This PR generally closes an `Enhancement` issue. It increments the minor version (0.+1.0)", | ||
"releaseType": "minor", | ||
"overwrite": true | ||
}, | ||
{ | ||
"name": "Minormod-breaking", | ||
"changelogTitle": "💥 Breaking Change during development", | ||
"description": "For development only, this PR increments the minor version (0.+1.0) but breaks compatibility", | ||
"releaseType": "minor", | ||
"overwrite": true | ||
}, | ||
{ | ||
"name": "BugFIX", | ||
"changelogTitle": "🐛 Bug Fix", | ||
"description": "This PR generally closes a `Bug` issue, and increments the patch version (0.0.+1)", | ||
"releaseType": "patch", | ||
"overwrite": true | ||
}, | ||
{ | ||
"name": "Documentation", | ||
"changelogTitle": "📝 Documentation", | ||
"description": "This issue or PR is about the documentation ", | ||
"releaseType": "none", | ||
"overwrite": true | ||
}, | ||
{ | ||
"name": "Testing", | ||
"changelogTitle": "⚠️ Tests", | ||
"description": "This is for testing features, writing tests or producing testing code", | ||
"releaseType": "none", | ||
"overwrite": true | ||
}, | ||
{ | ||
"name": "Internal", | ||
"changelogTitle": "🏠 Internal", | ||
"description": "Changes affect the internal API. It doesn't increase the version, but produces a changelog", | ||
"releaseType": "none", | ||
"overwrite": true | ||
}, | ||
{ | ||
"name": "Outreach", | ||
"changelogTitle": "🖋️ Outreach", | ||
"description": "Issue about outreaching of any form", | ||
"releaseType": "none", | ||
"overwrite": true | ||
}, | ||
{ | ||
"name": "Skip release", | ||
"description": "This PR preserves the current version when merged, and doesn't appear in the changelog", | ||
"releaseType": "skip", | ||
"overwrite": true | ||
}, | ||
{ | ||
"name": "Release", | ||
"description": "For PR only, trigger a release at the merge", | ||
"releaseType": "release", | ||
"overwrite": true | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# This workflows will upload a Python Package using Twine when a release is created | ||
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries | ||
|
||
name: Upload Python Package | ||
|
||
on: | ||
release: | ||
types: [created] | ||
|
||
jobs: | ||
deploy: | ||
|
||
runs-on: ubuntu-18.04 | ||
|
||
steps: | ||
- name: Checkout source | ||
uses: actions/checkout@v2 | ||
- name: Set up Python | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.7 | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install setuptools wheel twine | ||
- name: Build and publish | ||
env: | ||
TWINE_USERNAME: __token__ | ||
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | ||
run: | | ||
python -m python setup.py sdist bdist_wheel | ||
python -m twine upload dist/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
{ | ||
"metadata": { | ||
"license": { | ||
"id": "Apache-2.0" | ||
}, | ||
"title": "physiopy/phys2bids: BIDS formatting of physiological recordings", | ||
"relations": { | ||
"version": [ | ||
{ | ||
"count": 8, | ||
"index": 7, | ||
"parent": { | ||
"pid_type": "recid", | ||
"pid_value": "3470091" | ||
} | ||
} | ||
] | ||
}, | ||
"creators": [ | ||
{ | ||
"affiliation": "BCBL - Basque Center on Cognition, Brain and Language", | ||
"name": "Daniel Alcal\u00e1" | ||
}, | ||
{ | ||
"affiliation": "Northwestern University", | ||
"name": "Apoorva Ayyagari" | ||
}, | ||
{ | ||
"affiliation": "Northwestern University", | ||
"name": "Molly Bright" | ||
}, | ||
{ | ||
"affiliation": "BCBL - Basque Center on Cognition, Brain and Language", | ||
"name": "C\u00e9sar Caballero Gaudes" | ||
}, | ||
{ | ||
"affiliation": "BCBL - Basque Center on Cognition, Brain and Language", | ||
"name": "Vicente Ferrer" | ||
}, | ||
{ | ||
"name": "Soichi Hayashi" | ||
}, | ||
{ | ||
"affiliation": "McGill University", | ||
"name": "Ross Markello" | ||
}, | ||
{ | ||
"orcid": "0000-0002-2553-3327", | ||
"affiliation": "BCBL - Basque Center on Cognition, Brain and Language", | ||
"name": "Stefano Moia" | ||
}, | ||
{ | ||
"affiliation": "Northwestern University", | ||
"name": "Rachael Stickland" | ||
}, | ||
{ | ||
"affiliation": "BCBL - Basque Center on Cognition, Brain and Language", | ||
"name": "Eneko Uru\u00f1uela" | ||
}, | ||
{ | ||
"affiliation": "Northwestern University", | ||
"name": "Kristina Zvolanek" | ||
} | ||
], | ||
"access_right": "open", | ||
"resource_type": { | ||
"type": "software", | ||
"title": "Software" | ||
}, | ||
"related_identifiers": [ | ||
{ | ||
"scheme": "doi", | ||
"identifier": "10.5281/zenodo.3470091", | ||
"relation": "isVersionOf" | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.