Skip to content

Commit 5d33fd6

Browse files
authored
Merge pull request #100 from MiraGeoscience/DEVOPS-545-poetry-autoversioning
DEVOPS-545: poetry autoversioning
2 parents e32b5ba + 149daaf commit 5d33fd6

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

.github/actions/reusable-python-setup_poetry/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ runs:
3232
- name: Install and configure Poetry
3333
uses: snok/install-poetry@v1
3434
with:
35-
version: 2.1.1
35+
version: 2.1.3
36+
plugins: poetry-dynamic-versioning
3637
virtualenvs-in-project: true
3738
virtualenvs-path: .venv
3839
installer-parallel: true

.github/workflows/reusable-python-publish_rattler_package.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@ jobs:
7373
with:
7474
lfs: ${{ inputs.lfs }}
7575
fetch-depth: 0
76+
- name: Set up Python version
77+
uses: actions/setup-python@v5
78+
with:
79+
python-version: ${{ inputs.python-version }}
80+
- name: Generate package version
81+
run: pip install --dry-run --no-deps ${{ inputs.source-path || '.' }}
7682
- name: Check if there is a rattler recipe
7783
run: |
7884
if [ -f ${{ inputs.source-path || '.' }}/recipe.yaml ]; then

0 commit comments

Comments
 (0)