Procházet zdrojové kódy

remove (stdin) = label from openssl output

Alexander Belanger před 4 roky
rodič
revize
f42ef9ac02
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      .github/workflows/release.yaml

+ 1 - 1
.github/workflows/release.yaml

@@ -415,7 +415,7 @@ jobs:
           path: release/darwin
           path: release/darwin
       - name: Create and commit porter.rb file
       - name: Create and commit porter.rb file
         run: |
         run: |
-          sha=$(cat ./release/darwin/porter_${{steps.tag_name.outputs.tag}}_Darwin_x86_64.zip | openssl sha256)
+          sha=$(cat ./release/darwin/porter_${{steps.tag_name.outputs.tag}}_Darwin_x86_64.zip | openssl sha256 | sed 's/(stdin)= //g')
 
 
           echo "class Porter < Formula
           echo "class Porter < Formula
             homepage "https://porter.run"
             homepage "https://porter.run"