Explorar el Código

Merge pull request #1597 from porter-dev/belanger/fix-homebrew-release

Fix homebrew release file to prevent hardcoding
abelanger5 hace 4 años
padre
commit
f8793bf23e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      .github/workflows/release.yaml

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

@@ -62,7 +62,7 @@ jobs:
           GITHUB_TAG: ${{ github.ref }}
       - name: Create and commit porter.rb file
         run: |
-          version=v0.6.1
+          version=${{steps.tag_name.outputs.tag}}
           name=porter_${{steps.tag_name.outputs.tag}}_Darwin_x86_64.zip
           curl -L https://github.com/porter-dev/porter/releases/download/${version}/porter_${version}_Darwin_x86_64.zip --output $name