usaybia / srophe-eXist-app

eXist code for Syriaca.org: The Syriac Reference Portal
GNU General Public License v3.0
1 stars 0 forks source link

Version updating workflow for data files #88

Open nathangibson opened 3 years ago

nathangibson commented 3 years ago

Hi @wsalesky , @hannafriedel on our team has written an xQuery which uses the app version from expath-pkg.xml to update the version number in the editionStmt of the individual TEI files: https://github.com/usaybia/usaybia-data/blob/update-version-number/update-version-number.xquery

The goal is to update the version number in the TEI files just prior to releasing a new version. Two questions:

1) Would it make sense to integrate this into the Srophe app? And if so, where do you want it? 2) Should we try to incorporate it into our Github release workflow, or is that too complicated? Perhaps it could be part of the pre-install script?

wsalesky commented 3 years ago

@nathangibson We can ask @davidamichelson if this is of interest. I would not add it to the pre-install script as it will drastically slow down the deployment, which for Syriaca.org is already quite slow, due to indexing. If you want to add it to the GitHub release workflow that might work better.

hannafriedel commented 3 years ago

Hi @wsalesky the xQuery can be accessed via https://github.com/usaybia/usaybia-data/blob/update-version-number/update-version-number-and-date.xquery. I think, the link Nathan posted is broken.