Skip to content

Commit

Permalink
chore: rename datashare-spacy-worker to `datashare-extension-nlp-sp…
Browse files Browse the repository at this point in the history
…acy`
  • Loading branch information
ClemDoum committed Nov 29, 2024
1 parent 99e47e6 commit 505eae8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linting-worker.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Linting test for datashare-spacy-worker
name: Linting test for datashare-extension-nlp-spacy

on:
push:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
Expand Down

0 comments on commit 505eae8

Please sign in to comment.