diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e6feb69..5a9bdde 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,7 +29,7 @@ jobs: run: curl -sSL https://get.haskellstack.org/ | sh shell: bash - name: Build binary - run: stack install && cp $(stack path --local-bin)/bel-exe${{ matrix.ext }} . + run: stack install && cp $(stack path --local-bin)/bel${{ matrix.ext }} . shell: bash - name: Upload binary uses: actions/upload-release-asset@v1.0.1 @@ -37,6 +37,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ github.event.release.upload_url }} - asset_path: bel-exe${{ matrix.ext }} + asset_path: bel${{ matrix.ext }} asset_name: bel-x86_64-${{ matrix.name }}${{ matrix.ext}} asset_content_type: application/octet-stream diff --git a/package.yaml b/package.yaml index 6562871..6d8b70c 100644 --- a/package.yaml +++ b/package.yaml @@ -53,7 +53,7 @@ library: - transformers executables: - bel-exe: + bel: main: Main.hs source-dirs: app ghc-options: