mirror of
https://github.com/freedbygrace/ActiveDirectoryManager.git
synced 2026-08-20 23:33:05 +00:00
Reorganize infrastructure as code and implement versioning schema
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
# PowerShell script to update the version.txt file with the current date and time
|
||||
|
||||
# Generate version in yyyy.MM.dd.HHmm format
|
||||
$version = Get-Date -Format "yyyy.MM.dd.HHmm"
|
||||
|
||||
# Update version.txt
|
||||
$versionFile = Join-Path $PSScriptRoot "version.txt"
|
||||
$version | Out-File -FilePath $versionFile -NoNewline
|
||||
|
||||
Write-Host "Version updated to: $version"
|
||||
Reference in New Issue
Block a user