-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed git error, converted script to ps1 and added log file
- Loading branch information
Showing
7 changed files
with
28 additions
and
22 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Remove-Item -Force lib/auto/build.dart | ||
New-Item -ItemType File -Path lib/auto/build.dart | ||
|
||
$BRANCH = git rev-parse --abbrev-ref HEAD | ||
$COMMIT_HASH = git rev-parse --short HEAD | ||
$COMMIT_DATE = git show -s --format=%ci | ||
|
||
"const String branch = '$BRANCH';" | Out-File -FilePath lib/auto/build.dart -Encoding utf8 | ||
"const String commitHash = '$COMMIT_HASH';" | Out-File -FilePath lib/auto/build.dart -Encoding utf8 -Append | ||
"const String commitDate = '$COMMIT_DATE';" | Out-File -FilePath lib/auto/build.dart -Encoding utf8 -Append |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
const String branch = './build.sh to generate this file'; | ||
const String commitHash = 'Run'; | ||
const String commitDate = '0000000000'; | ||
const String branch = 'v0.2.0'; | ||
const String commitHash = '705c17d'; | ||
const String commitDate = '2024-06-03 23:53:34 -0600'; |
This file contains 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
This file contains 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