-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Test first auto publish * Update auto-publish * Bump version * Update running branch --------- Co-authored-by: GitHub Action <[email protected]>
- Loading branch information
1 parent
fa5ffaf
commit 45a5911
Showing
5 changed files
with
43 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Auto Publish | ||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: 3.8 | ||
|
||
- name: Install poetry | ||
run: make setup | ||
|
||
- name: Bump version | ||
run: | | ||
poetry version prerelease | ||
- name: Commit changes | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
git add . | ||
git commit -m "Bump version" || echo "No changes to commit" | ||
git push | ||
- name: Build and publish to pypi | ||
uses: JRubics/[email protected] | ||
with: | ||
python_version: 3.8 | ||
pypi_token: ${{ secrets.PYPI_TOKEN }} | ||
allow_poetry_pre_release: "yes" | ||
ignore_dev_requirements: "yes" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
__version__ = "0.0.1" | ||
from .system import LighterSystem | ||
from .version import __version__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
__version__ = "0.0.2a1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ lighter = "lighter.utils.cli:interface" | |
|
||
[tool.poetry] | ||
name = "project-lighter" | ||
version = "0.0.1" | ||
version = "0.0.2a1" | ||
description = "YAML-based automated rapid prototyping framework for deep learning experiments" | ||
readme = "README.md" | ||
authors = ["Ibrahim Hadzic <[email protected]>" , | ||
|
@@ -182,4 +182,4 @@ generated-members = "torch.*" | |
[tool.pylint.master] | ||
fail-under=8 | ||
|
||
[tool.poetry_bumpversion.file."lighter/__init__.py"] | ||
[tool.poetry_bumpversion.file."lighter/version.py"] |