Skip to content
This repository was archived by the owner on Jan 1, 2025. It is now read-only.
This repository was archived by the owner on Jan 1, 2025. It is now read-only.

[Feature] Automate Remesh Package zip timestamp #94

@ItsSim

Description

@ItsSim

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions