Created
April 20, 2016 18:02
-
-
Save a5ync/9ac2a80811f9de220f6a3f8df3acbf0a to your computer and use it in GitHub Desktop.
Create a JSON file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Write-host Preparing version file | |
$version="1.0.0" | |
$json = @" | |
{ | |
"version": "$version", | |
"timestamp": "$(Get-Date)" | |
} | |
"@ | |
[System.IO.File]::WriteAllLines("version.json", $json) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment