Skip to content

Commit 526a9d8

Browse files
authored
Switch to CircleCI for deployments (#8)
1 parent a42fdc7 commit 526a9d8

3 files changed

Lines changed: 27 additions & 44 deletions

File tree

.circleci/config.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
version: 2.1
2+
3+
workflows:
4+
deploy:
5+
jobs:
6+
- upload_to_pypi:
7+
filters:
8+
# Ignore any commit on any branch by default
9+
branches:
10+
ignore: /.*/
11+
# Run only when a tag is created
12+
tags:
13+
only: /^v.+\..+\..+/
14+
15+
jobs:
16+
upload_to_pypi:
17+
docker:
18+
- image: circleci/python:3.6
19+
environment:
20+
POETRY_HTTP_BASIC_PYPI_USERNAME: __token__
21+
22+
steps:
23+
- checkout
24+
- run: pip3 install --upgrade poetry
25+
- run: poetry build
26+
- run: POETRY_HTTP_BASIC_PYPI_PASSWORD=${PYPI_PASSWORD} poetry publish

.github/workflows/deploy.yml

Lines changed: 0 additions & 43 deletions
This file was deleted.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tool.poetry]
22
packages = [ { include = "brainframe/api" } ]
33
name = "brainframe-api"
4-
version = "0.27.0"
4+
version = "0.27.0.dev1"
55
description = "Provides a Python wrapper around the BrainFrame REST API."
66
authors = ["Aotu"]
77
license = "BSD-3-Clause"

0 commit comments

Comments
 (0)