From 505eae875f54e4f4b6aa5503545c39a7dfae6526 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cle=CC=81ment=20Doumouro?= Date: Fri, 29 Nov 2024 12:20:56 +0100 Subject: [PATCH] chore: rename `datashare-spacy-worker` to `datashare-extension-nlp-spacy` --- .github/workflows/linting-worker.yml | 2 +- .github/workflows/publish.yml | 10 +++++----- pyproject.toml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/linting-worker.yml b/.github/workflows/linting-worker.yml index efe3912..e308cc9 100644 --- a/.github/workflows/linting-worker.yml +++ b/.github/workflows/linting-worker.yml @@ -1,4 +1,4 @@ -name: Linting test for datashare-spacy-worker +name: Linting test for datashare-extension-nlp-spacy on: push: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f87b257..7e3f917 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -28,7 +28,7 @@ jobs: id: meta uses: docker/metadata-action@v5 with: - images: icij/datashare-spacy-worker + images: icij/datashare-extension-nlp-spacy - name: Set up QEMU uses: docker/setup-qemu-action@v3 @@ -60,7 +60,7 @@ jobs: id: meta uses: docker/metadata-action@v5 with: - images: icij/datashare-spacy-worker-transformers + images: icij/datashare-extension-nlp-spacy-transformers - name: Set up QEMU uses: docker/setup-qemu-action@v3 @@ -137,19 +137,19 @@ jobs: --distpath ./bin \ -F \ -y \ - --name "datashare-spacy-worker$BIN_SUFFIX" \ + --name "datashare-extension-nlp-spacy$BIN_SUFFIX" \ --hidden-import spacy \ --additional-hooks-dir hooks \ --specpath ./bin \ --add-data ../datashare_spacy_worker/data/models.json:datashare_spacy_worker/data/ \ -p datashare_spacy_worker if [[ $BUILD_OS == "windows" ]]; then - mv "./bin/datashare-spacy-worker$BIN_SUFFIX.exe" "./bin/datashare-spacy-worker$BIN_SUFFIX" + mv "./bin/datashare-extension-nlp-spacy$BIN_SUFFIX.exe" "./bin/datashare-extension-nlp-spacy$BIN_SUFFIX" fi - name: Push executable to GH release shell: bash - run: gh release upload "$tag" "./bin/datashare-spacy-worker$BIN_SUFFIX" + run: gh release upload "$tag" "./bin/datashare-extension-nlp-spacy$BIN_SUFFIX" env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} tag: ${{ github.ref_name }} diff --git a/pyproject.toml b/pyproject.toml index 9baaaf5..a3d12d8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [tool.poetry] -name = "datashare-spacy-worker" +name = "datashare-extension-nlp-spacy" version = "0.1.4" description = "Spacy NLP worker for Datashare" authors = ["Clément Doumouro "]