Skip to content

Commit

Permalink
Bump test
Browse files Browse the repository at this point in the history
  • Loading branch information
derkweijers committed Feb 11, 2024
1 parent e568ea9 commit 6758399
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,25 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x
python-version: 3.11

- name: Install Poetry
run: |
pip install poetry
- name: Update the version
id: bump_version
run: |
poetry version ${{ github.event.inputs.version_rule }}
echo VERSION=$(poetry version -s) >> "$GITHUB_OUTPUT"
- name: Build and publish
run: |
poetry install --no-dev
poetry build
poetry publish
# poetry publish
- uses: EndBug/add-and-commit@v9 # You can change this to use a specific version.
with:
message: "Bump version to ${{ steps.bump_version.outputs.VERSION }}"
add: "pyproject.toml"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "bookbrary"
version = "0.1.1"
version = "0.2.0"
description = ""
authors = ["Derk Weijers <derk@weijers.xyz>"]
readme = "README.md"
Expand Down

0 comments on commit 6758399

Please sign in to comment.