This repository exists for developers to easily release iNZight packages (as an alternative to CRAN) and deploy updates without requiring a dedicated machine.
The main repository is at https://r.docker.stat.auckland.ac.nz, and has source and binaries for packages for R-release, R-devel, and R-oldrel on Windows, and (currently not) macOS.
- Github Actions pulls this repository and the master version of all packages
- installs R
- syncs (pull) repository (including datestamps)
- builds source/binary for any packages which are newer than the repo
- creates
PACKAGES
file - syncs (push) repository
Next, the windows installer is built and uploaded.
When ready to trigger a release, simply pull or checkout packages from inside the library
directory:
cd library/iNZightTools
git pull
# or assuming there is a version tag:
git checkout 1.9.1
Then commit and push this repository and let Github Actions do the rest!