Skip to content

Commit

Permalink
Use extant poetry-core version; tweak build script
Browse files Browse the repository at this point in the history
  • Loading branch information
moble committed Aug 25, 2020
1 parent cbe80ac commit dc57714
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
build:
name: ${{ matrix.os }} python ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')"
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
- name: Bump version
shell: bash
run: |
export version_bump_rule=$(echo ${{ github.event.head_commit.message }} | python .github/scripts/parse_bump_rule.py )
export version_bump_rule=$(echo '${{ github.event.head_commit.message }}' | python .github/scripts/parse_bump_rule.py )
echo "version_bump_rule: '${version_bump_rule}'"
python -m poetry version "${version_bump_rule}"
export new_version=$(python .github/scripts/parse_version.py pyproject.toml)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ junit_family="xunit2"
addopts = "-v --tb=short --doctest-glob='' --cov --cov-branch --cov-report xml"

[build-system]
requires = ["poetry-core>=1.0.10"]
requires = ["poetry-core>=1.0.0a9"]
build-backend = "poetry.core.masonry.api"

0 comments on commit dc57714

Please sign in to comment.