Skip to content

Commit

Permalink
Fix Release GitHub action
Browse files Browse the repository at this point in the history
Fix the release GitHub action that had broken because the package
was renamed.

Signed-off-by: Jason Rogena <[email protected]>
  • Loading branch information
jasonrogena committed Jul 10, 2022
1 parent 6efcf7b commit 866de63
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,19 +105,19 @@ jobs:
run: make clean build
- name: Strip release binary (linux and macos)
if: matrix.build == 'linux' || matrix.build == 'macos-aarch64' || matrix.build == 'macos-x86_64'
run: strip "target/${{ matrix.target }}/release/librarian"
run: strip "target/${{ matrix.target }}/release/fs-librarian"
- name: Build archive
shell: bash
run: |
staging="librarian-${{ needs.create-release.outputs.librarian_version }}-${{ matrix.target }}"
staging="fs-librarian-${{ needs.create-release.outputs.librarian_version }}-${{ matrix.target }}"
mkdir -p "$staging"
cp {README.md,LICENSE} "$staging/"
if [ "${{ matrix.os }}" = "windows-latest" ]; then
cp "target/${{ matrix.target }}/release/librarian.exe" "$staging/"
cp "target/${{ matrix.target }}/release/fs-librarian.exe" "$staging/"
7z a "$staging.zip" "$staging"
echo "ASSET=$staging.zip" >> $GITHUB_ENV
else
cp "target/${{ matrix.target }}/release/librarian" "$staging/"
cp "target/${{ matrix.target }}/release/fs-librarian" "$staging/"
tar czf "$staging.tar.gz" "$staging"
echo "ASSET=$staging.tar.gz" >> $GITHUB_ENV
fi
Expand Down

0 comments on commit 866de63

Please sign in to comment.