weecology / portalPredictions

Using various models to forecast abundances at Portal
MIT License
9 stars 8 forks source link

Save a version tag txt file #405

Open juniperlsimonis opened 1 year ago

juniperlsimonis commented 1 year ago

Akin to the portalData repo, it would be very helpful if we could automate the creation / updating of a .txt that simply has the version id.

This will allow for a simple check to compare local and remote versions.

@gmyenni what's the easiest way to set this up? Is there an action / workflow we can copy over?

gmyenni commented 1 year ago

This is the script in PortalData: https://github.com/weecology/PortalData/blob/main/version_bump.R It happens in the 'bump version' step in the main workflow.