Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: |
sudo apt-get install -y pandoc
sudo apt-get install -y texlive-latex-*
python -m pip install --upgrade build twine colorama pypandoc wheel dotdict GenPackageDoc PythonExtensionsCollection
python -m pip install --upgrade build twine wheel GenPackageDoc PythonExtensionsCollection

- name: Build source and wheel distributions
run: |
Expand All @@ -37,16 +37,10 @@ jobs:
password: ${{ secrets.PYPI_API_TOKEN }} # This token should be created in Settings > Secrets > Actions
# repository_url: https://test.pypi.org/legacy/ # Use this for testing to upload the distribution to test.pypi

- name: Get Asset name
run: |
export PKG=$(ls dist/ | grep tar)
set -- $PKG
echo "name=$1" >> $GITHUB_ENV

- name: Create/Update GitHub Release
id: create_update_release
uses: ncipollo/release-action@v1
with:
allowUpdates: true
omitNameDuringUpdate: true
artifacts: dist/${{ env.name }}
artifacts: dist/*
2 changes: 1 addition & 1 deletion config/repository_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"DEVELOPMENTSTATUS" : "Development Status :: 4 - Beta",
"INTENDEDAUDIENCE" : "Intended Audience :: Developers",
"TOPIC" : "Topic :: Software Development",
"INSTALLREQUIRES" : ["pypandoc","colorama","GenPackageDoc","PythonExtensionsCollection"],
"INSTALLREQUIRES" : [],
"PACKAGEDATA" : ["*.pdf"],
"PACKAGEDOC" : "./packagedoc"
}