Skip to content

Commit

Permalink
ci: updates for release
Browse files Browse the repository at this point in the history
  • Loading branch information
Xarthisius committed Feb 4, 2025
1 parent db2acb7 commit 10d0407
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 216 deletions.
31 changes: 20 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,33 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "18"
- name: Install pypa/build
run: >-
python3 -m
pip install
build
--user
- name: Build js component in package/web_client
run: >-
cd $(find . -maxdepth 2 -mindepth 2 -type d -name web_client)
&& npm ci
&& npm run build
- name: Build a binary wheel and a source tarball
run: python3 -m build
- name: install check-manifest
run: >-
python3 -m
pip install
check-manifest
--user
- name: Check the package manifest
run: check-manifest -vvv
- name: Store the distribution packages
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: python-package-distributions
path: dist/
Expand All @@ -42,7 +59,7 @@ jobs:

steps:
- name: Download all the dists
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
Expand All @@ -63,7 +80,7 @@ jobs:

steps:
- name: Download all the dists
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
Expand All @@ -73,14 +90,6 @@ jobs:
inputs: >-
./dist/*.tar.gz
./dist/*.whl
- name: Create GitHub Release
env:
GITHUB_TOKEN: ${{ github.token }}
run: >-
gh release create
'${{ github.ref_name }}'
--repo '${{ github.repository }}'
--notes ""
- name: Upload artifact signatures to GitHub Release
env:
GITHUB_TOKEN: ${{ github.token }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Testing
*.yaml

# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down
5 changes: 5 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
prune girder_wholetale/web_client
include girder_wholetale/web_client/dist/girder-plugin-wholetale.umd.cjs
include girder_wholetale/web_client/dist/style.css
include girder_wholetale/lib/dataverse/installations.json
prune girder_wholetale/tests
exclude girder_wholetalet/tests
global-prune *.yaml
global-exclude *.yaml
prune scripts
exclude scripts
exclude codecov.yml MANIFEST.in requirements-dev.txt tox.ini
prune codecov.yml MANIFEST.in requirements-dev.txt tox.ini
42 changes: 0 additions & 42 deletions circle.yml

This file was deleted.

52 changes: 0 additions & 52 deletions cmake/circle_continuous.cmake

This file was deleted.

86 changes: 0 additions & 86 deletions plugin.cmake

This file was deleted.

8 changes: 0 additions & 8 deletions plugin.yml

This file was deleted.

15 changes: 0 additions & 15 deletions requirements.txt

This file was deleted.

4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@
"requests",
"validators",
"html2markdown",
"lxml",
"lxml[html_clean]",
"GitPython",
"httpio>=0.3.0",
"fs",
"gwvolman @ git+https://github.com/Xarthisius/gwvolman@main#egg=gwvolman",
"gwvolman>=2.0.0",
],
entry_points={"girder.plugin": ["wholetale = girder_wholetale:WholeTalePlugin"]},
zip_safe=False,
Expand Down

0 comments on commit 10d0407

Please sign in to comment.