Skip to content

Commit

Permalink
fix unresolved version numbers in CI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
danielfromearth committed Apr 22, 2024
1 parent f0e8820 commit 2b123f5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release-created.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ name: Release Branch Created
on:
create

env:
POETRY_VERSION: "1.3.2"
PYTHON_VERSION: "3.10"

jobs:
# First job in the workflow builds and verifies the software artifacts
bump:
Expand All @@ -20,11 +24,11 @@ jobs:
ref: 'refs/heads/develop'
- uses: actions/setup-python@v5
with:
python-version: 3.10
python-version: ${{ env.PYTHON_VERSION }}
- name: Install Poetry
uses: abatilo/[email protected]
with:
poetry-version: 1.3.2
poetry-version: ${{ env.POETRY_VERSION }}
- name: Bump minor version
run: |
poetry version ${GITHUB_REF#refs/heads/release/}
Expand Down

0 comments on commit 2b123f5

Please sign in to comment.