Expand description
The new version as date is written to Cargo.toml and service_worker.js
Structs§
-
The struct that represents the file .automation_tasks_rs_file_hashes.json
-
File metadata
Functions§
-
If files are added or deleted, other files must be also changed
-
New version from date is written to Cargo.toml and service_worker.js
-
Just like auto_version_from_date(), but force the new version even if no files are changed.
-
Internal function to get version from date
-
Cargo.toml is now different and needs to be changed in the vec of file metadata
-
Find from position in string
-
Search for file service_worker.js and modify version
-
Make a vector of file metadata
-
Read .automation_tasks_rs_file_hashes.json
-
Save the new file metadata
-
Calculate the hash for the content of a file
-
Convert a date to a version
-
Write version to Cargo.toml