pcdshub / pytmc

Generate EPICS IOCs and records from TwinCAT projects - along with many TwinCAT project tools
https://pcdshub.github.io/pytmc/
Other
10 stars 11 forks source link

Fix PyPI, docs, and anaconda deployment #263

Closed klauer closed 1 year ago

klauer commented 3 years ago
klauer commented 3 years ago

All are failing now - even with the new PyPI token. https://travis-ci.com/github/pcdshub/pytmc/builds/224311728

CI needs considerable work, so it seems.

klauer commented 3 years ago

Rebuilt docs with the following to move to doctr-versions-menu, which we had neglected to do until now:

```bash #!/bin/bash GITHUB_IO=../gh-pages tags="\ v1.0.0 v1.1.0 v1.1.1 v1.1.2 v1.1.3 v1.1.4 v2.0.0rc1 v2.1.0 v2.2.0 v2.3.0 v2.3.1 v2.4.0 v2.5.0 v2.6.0 v2.6.5 v2.6.6 v2.6.7 v2.6.8 v2.6.9 v2.7.0 v2.7.1 v2.7.5 v2.7.6 v2.7.7 v2.8.0 v2.8.1 v2.9.0 v2.9.1" for version in $tags; do git reset --hard $version if [ ! `grep 'doctr_versions_menu' conf.py` ]; then sed -i'' -e '/^extensions = .*/a\ "doctr_versions_menu",' conf.py fi sed -i'' -e 's/(2017|2018|2019|2020)/2021/g' conf.py sed -i'' -e '/sys.path.insert(0,module_path)/d' conf.py rm -rf _build && make html # it's clean, really! find _build/html -type f -name "*.html" -exec sed -i'' -e 's/+0\.g........\.dirty//g' {} \; find _build/html -type f -name "*.js" -exec sed -i'' -e 's/+0\.g........\.dirty//g' {} \; # am not the smartest find _build -type f -name "*.*-e" -exec rm -f {} \; mkdir -p $GITHUB_IO/$version/ cp -R _build/html/ $GITHUB_IO/$version/ done ```
klauer commented 1 year ago

We moved to GitHub Actions and I think this is no longer an issue