diff --git a/.github/workflows/publish_conda.yml b/.github/workflows/publish_conda.yml index ac01245..e058e75 100644 --- a/.github/workflows/publish_conda.yml +++ b/.github/workflows/publish_conda.yml @@ -5,7 +5,7 @@ on: workflow_dispatch: jobs: release-please: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: GoogleCloudPlatform/release-please-action@v4 id: release @@ -19,7 +19,7 @@ jobs: release_created: ${{ steps.release.outputs.release_created }} pypi: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 needs: release-please if: ${{ needs.release-please.outputs.release_created }} steps: diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 6d53837..ed19a09 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -29,7 +29,7 @@ jobs: # path: ./wheelhouse/*.whl sdist: name: Build sdist - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 @@ -46,7 +46,7 @@ jobs: publish: name: Publish wheels to pypi - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: # IMPORTANT: this permission is mandatory for trusted publishing id-token: write diff --git a/conda/meta.yaml b/conda/meta.yaml index a89b34c..f692e53 100644 --- a/conda/meta.yaml +++ b/conda/meta.yaml @@ -1,8 +1,8 @@ {% set name = "loopprojectfile" %} package: - name: "{{ name|lower }}" - version: "{{ environ.get('GIT_DESCRIBE_TAG', '') }}" + name: {{ name|lower }} + version: "{{ environ.get('GIT_DESCRIBE_TAG', '').lstrip('v') }}" source: git_url: https://github.com/Loop3D/LoopProjectFile.git