Browse Source

(au) update scripts

Ensure you can find gist.md.ps1
Rob Reynolds 7 years ago
parent
commit
485b7f709a
2 changed files with 2 additions and 2 deletions
  1. 1 1
      au/scripts/Save-Gist.ps1
  2. 1 1
      au/scripts/Save-Git.ps1

+ 1 - 1
au/scripts/Save-Gist.ps1

@@ -70,7 +70,7 @@ function Save-Gist {
     "Saving results to gist"
     if (!(gcm gist.bat -ea 0)) { "ERROR: No gist.bat found. Install it using:  'gem install gist'"; return }
 
-    $log = gc gist.md.ps1 -Raw | Expand-PoshString
+    $log = gc $PSScriptRoot\..\gist.md.ps1 -Raw | Expand-PoshString
     $log | Out-File gist.md
 
     $params = @( "--filename 'Update-AUPackages.md'")

+ 1 - 1
au/scripts/Save-Git.ps1

@@ -1,6 +1,6 @@
 function Save-Git() {
     $pushed = $Info.result.pushed
-    if (!$Info.pushed) { "Git: no package is pushed to chocolatey, skipping"; return }
+    if (!$Info.pushed) { "Git: no package is pushed to Chocolatey community feed, skipping"; return }
 
     ""
     "Executing git pull"