mirror of
https://github.com/freedbygrace/ActiveDirectoryManager.git
synced 2026-07-26 11:59:14 +00:00
11 lines
269 B
Bash
11 lines
269 B
Bash
#!/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"
|