Skip to content

Commit

Permalink
enable prod pypi release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
speediedan committed Apr 15, 2022
1 parent d9c38c8 commit 0ef9091
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,5 @@ jobs:
PYTHON_VERSION=${{ matrix.python_version }}
PYTORCH_VERSION=${{ matrix.pytorch_version }}
CUST_BASE=${{ matrix.cust_base }}
tags: ${{ secrets.DOCKERHUB_USERNAME }}/finetuning-scheduler:fts${{ steps.get_version.outputs.RELEASE_VERSION }}-${{ matrix.cust_base }}py${{ matrix.python_version }}-pt${{ matrix.pytorch_version }}-pl${{ matrix.pl_version }},${{ secrets.DOCKERHUB_USERNAME }}/finetuning-scheduler:test
tags: ${{ secrets.DOCKERHUB_USERNAME }}/finetuning-scheduler:fts${{ steps.get_version.outputs.RELEASE_VERSION }}-${{ matrix.cust_base }}py${{ matrix.python_version }}-pt${{ matrix.pytorch_version }}-pl${{ matrix.pl_version }},${{ secrets.DOCKERHUB_USERNAME }}/finetuning-scheduler:latest
timeout-minutes: 55
13 changes: 6 additions & 7 deletions .github/workflows/release-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ jobs:
# give time to verify that the release looks good on github before proceeding with pypi
uses: juliangruber/sleep-action@v1
with:
time: 1m # just testing for now
#time: 10m
time: 5m

- name: Publish to Test PyPI
uses: pypa/gh-action-pypi-publish@v1.5.0
Expand All @@ -91,8 +90,8 @@ jobs:
repository_url: https://test.pypi.org/legacy/
verbose: true

# - name: Publish distribution 📦 to PyPI
# uses: pypa/gh-action-pypi-publish@v1.5.0
# with:
# user: __token__
# password: ${{ secrets.pypi_password }}
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@v1.5.0
with:
user: __token__
password: ${{ secrets.pypi_password }}
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).

## [0.1.1] - 2022-04-DD
## [0.1.1] - 2022-04-15

### Added

- added conda-forge package
- added conda-forge package (pending approval by conda-forge maintainers, should be available within a few days)
- added docker release and pypi workflows
- additional badges for readme, testing enhancements for oldest/newest pl patch versions

### Changed

- associate release with PL 1.6.1 - CLI example depends on PL logger fix ([#12609](https://github.com/PyTorchLightning/pytorch-lightning/pull/12609))
- bumped latest tested PL patch version to 1.6.1, CLI example depends on PL logger fix ([#12609](https://github.com/PyTorchLightning/pytorch-lightning/pull/12609))

### Deprecated

Expand Down

0 comments on commit 0ef9091

Please sign in to comment.