This repository has been archived by the owner on Jan 1, 2025. It is now read-only.
[Feature] Automate Remesh Package zip timestamp #94
Labels
enhancement
New feature or request
feature accepted
Feature has been accepted
good first issue
Good for newcomers
help wanted
Extra attention is needed
low priority
Low priority
Is your feature request related to a problem? Please describe.
The remesh package needs the last modification timestamp in its file name in releases (e.g.: remeshes-1.0.0-1717947681.zip) for the launcher to check that it's been updated.
It currently requires editing the timestamp.txt https://github.com/ItsSim/fsolauncher/blob/develop/extras/fsolauncher-remeshes/timestamp.txt with the desired timestamp. Then GitHub Actions reads this file and creates the remesh .zip with the timestamp in the filename.
I tried changing the GitHub CI .yml to automatically add the timestamp of the last commit made to the remeshes folder in https://github.com/ItsSim/fsolauncher/tree/develop/extras/fsolauncher-remeshes/remeshes, but it didn't work because it seemed to always return the current date (so the remesh package would always have a new timestamp). Lost the code for this so I can't post it here for reference.
Describe the solution you'd like
A way to automatically set the last modification timestamp to the remesh .zip file. Should ideally be whenever the remeshes folder was last updated.
Describe alternatives you've considered
Alternative would be to just leave it as is, but would be a nice enhancement to figure this out.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: