From b780807e73d14d7e9aa8b66e1805658387eb67ea Mon Sep 17 00:00:00 2001 From: Jirka Borovec Date: Tue, 7 Apr 2020 17:55:27 +0200 Subject: [PATCH] release 0.7.2rc4 (#1402) * instructions for changelog * instructions for changelog * on --- .github/PULL_REQUEST_TEMPLATE.md | 2 ++ .github/workflows/pypi-release.yml | 12 +++++++----- pytorch_lightning/__init__.py | 2 +- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index cf1368a6..af80acf6 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -6,6 +6,8 @@ - [ ] Did you write any new necessary tests? - [ ] If you made a notable change (that affects users), did you update the [CHANGELOG](https://github.com/PyTorchLightning/pytorch-lightning/blob/master/.github/CHANGELOG.md)? + + ## What does this PR do? Fixes # (issue). diff --git a/.github/workflows/pypi-release.yml b/.github/workflows/pypi-release.yml index 34b45e1b..898c2ba8 100644 --- a/.github/workflows/pypi-release.yml +++ b/.github/workflows/pypi-release.yml @@ -1,16 +1,18 @@ name: PyPI Release -on: [push] +# https://help.github.com/en/actions/reference/events-that-trigger-workflows +on: + # Trigger the workflow on push or pull request, + # but only for the master branch + push: + branches: + - master # based on https://github.com/pypa/gh-action-pypi-publish jobs: build: runs-on: ubuntu-latest - strategy: - max-parallel: 4 - matrix: - python-version: [3.6, 3.7] steps: - uses: actions/checkout@master diff --git a/pytorch_lightning/__init__.py b/pytorch_lightning/__init__.py index 100ade0d..6d9efa14 100644 --- a/pytorch_lightning/__init__.py +++ b/pytorch_lightning/__init__.py @@ -1,6 +1,6 @@ """Root package info.""" -__version__ = '0.7.2rc3' +__version__ = '0.7.2rc4' __author__ = 'William Falcon et al.' __author_email__ = 'waf2107@columbia.edu' __license__ = 'Apache-2.0'