Skip to content
Snippets Groups Projects
Unverified Commit 7052d2f9 authored by Aurélien Jaquier's avatar Aurélien Jaquier Committed by GitHub
Browse files

Merge pull request #259 from BlueBrain/release

add zenodo json file, and tag and release at each push
parents d09a5e45 ee2fce71
No related branches found
Tags 0.9.0
No related merge requests found
...@@ -11,23 +11,47 @@ jobs: ...@@ -11,23 +11,47 @@ jobs:
call-test-workflow: call-test-workflow:
uses: BlueBrain/BluePyMM/.github/workflows/test.yml@master uses: BlueBrain/BluePyMM/.github/workflows/test.yml@master
build-n-publish: build-tag-n-publish:
name: Build and publish on PyPI name: Build, tag and publish on PyPI
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: call-test-workflow needs: call-test-workflow
permissions:
contents: write
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python 3.10 - name: Set up Python 3.10
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: "3.10" python-version: "3.10"
- name: Bump version and push tag
uses: anothrNick/github-tag-action@1.64.0
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
id: tag
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: false
DEFAULT_BUMP: minor
- name: Build a source tarball and wheel - name: Build a source tarball and wheel
run: | run: |
pip install wheel pip install wheel
python setup.py sdist bdist_wheel python setup.py sdist bdist_wheel
- name: Get and store tag from 'Bump version and push tag' step
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
run: echo "TAG_NAME=${{ steps.tag.outputs.new_tag }}" >> $GITHUB_ENV
- name: Get and store tag from triggered tag push
if: ${{ startsWith(github.ref, 'refs/tags/') }}
run: echo "TAG_NAME=${{ github.ref_name }}" >> $GITHUB_ENV
- name: Release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ env.TAG_NAME }}
name: ${{ env.TAG_NAME }}
generate_release_notes: true
- name: Publish package to PyPI - name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1 uses: pypa/gh-action-pypi-publish@release/v1
with: with:
......
{
"title" : "BluePyMM",
"license": "LGPLv3",
"upload_type": "software",
"description": "BluePyMM is a software built to do Cell Model Management (MM). It takes as input a morphology release, a circuit recipe and a set of e-models with some extra information. Next, it finds all possible (morphology, e-model)-combinations (me-combos) based on e-type, m-type, and layer as described by the circuit recipe, and calculates the scores for every combination. Finally, it writes out the resulting accepted me-combos to a database, and produces a report with information on the number of matches.",
"creators": [
{
"affiliation": "Blue Brain Project, EPFL",
"name": "Van Geit, Werner",
"orcid": "0000-0002-2915-720X"
},
{
"affiliation": "Blue Brain Project, EPFL",
"name": "Vanherpe, Liesbeth",
"orcid": "0000-0002-1226-0526"
},
{
"affiliation": "Blue Brain Project, EPFL",
"name": "Rössert, Christian",
"orcid": "0000-0002-4839-2424"
},
{
"affiliation": "Blue Brain Project, EPFL",
"name": "Gevaert, Michael",
"orcid": "0000-0002-7547-3297"
},
{
"affiliation": "Blue Brain Project, EPFL",
"name": "Courcol, Jean-Denis",
"orcid": "0000-0002-9351-1461"
},
{
"affiliation": "Blue Brain Project, EPFL",
"name": "King, James Gonzalo",
"orcid": "0000-0003-0906-8389"
},
{
"affiliation": "Blue Brain Project, EPFL",
"name": "Jaquier, Aurélien",
"orcid": "0000-0001-6202-6175"
}
]
}
\ No newline at end of file
...@@ -4,3 +4,4 @@ Christian Roessert @ BBP ...@@ -4,3 +4,4 @@ Christian Roessert @ BBP
Mike Gevaert @ BBP Mike Gevaert @ BBP
Jean-Denis Courcol @ BBP Jean-Denis Courcol @ BBP
James King @ BBP James King @ BBP
Aurélien Jaquier @ BBP
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment