1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-10 22:22:19 +02:00

(v2.1.1.9102) fix sir

This commit is contained in:
2024-10-18 10:58:57 +02:00
parent 11b1dc2b02
commit da6321c504
6 changed files with 23 additions and 20 deletions

View File

@ -49,7 +49,6 @@ if command -v Rscript > /dev/null; then
if [ "$(Rscript -e 'cat(all(c('"'pkgload'"', '"'devtools'"', '"'dplyr'"') %in% rownames(installed.packages())))')" = "TRUE" ]; then
Rscript -e "source('data-raw/_pre_commit_checks.R')"
currentpkg=$(Rscript -e "cat(pkgload::pkg_name())")
bash data-raw/AMRforRGPT.sh
echo "- Adding changed files in ./data-raw and ./man to this commit"
git add data-raw/*
git add man/*
@ -112,4 +111,7 @@ echo ""
# Save the version number for use in the commit-msg hook
echo "${currentversion}" > .git/commit_version.tmp
# Generate GPT knowledge info for our Assistant (https://chatgpt.com/g/g-M4UNLwFi5-amr-for-r-assistant)
bash data-raw/_generate_GPT_knowledge_input.sh "${currentversion}"
exit 0

View File

@ -59,9 +59,9 @@ jobs:
bash _generate_python_wrapper.sh
- name: Publish to PyPI
# env:
# TWINE_USERNAME: "__token__"
# TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
env:
TWINE_USERNAME: "__token__"
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
cd data-raw/python_wrapper/AMR
python -m twine upload dist/*