mirror of
https://github.com/freedbygrace/ActiveDirectoryManager.git
synced 2026-08-21 07:37:32 +00:00
Reorganize infrastructure as code and implement versioning schema
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
# Script to update the version.txt file with the current date and time
|
||||
|
||||
# Generate version in yyyy.MM.dd.HHmm format
|
||||
VERSION=$(date +"%Y.%m.%d.%H%M")
|
||||
|
||||
# Update version.txt
|
||||
echo "$VERSION" > "$(dirname "$0")/version.txt"
|
||||
|
||||
echo "Version updated to: $VERSION"
|
||||
Reference in New Issue
Block a user