Skip to content

Commit

Permalink
fix installer builder
Browse files Browse the repository at this point in the history
  • Loading branch information
yshavit committed Jul 12, 2024
1 parent e2a5967 commit b29d2bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ jobs:
run: |
tmp_file="$(mktemp)"
cp scripts/installer.sh "$tmp_file"
base64 -b 72 target/release/mdq | sed 's/^/# /' >> "$tmp_file"
base64 -b 72 -i target/release/mdq | sed 's/^/# /' >> "$tmp_file"
chmod +x "$tmp_file"
mv "$tmp_file" target/release/mdq-installer.sh
echo "BUILD_FILE_NAME=mdq-installer.sh >> "$GITHUB_ENV"
echo BUILD_FILE_NAME=mdq-installer.sh >> "$GITHUB_ENV"
printf '::notice title=sha256sum %s (%s)::%s\n' "$BUILD_FILE_NAME" "$MATRIX_OS" "$(shasum -a 256 "target/release/${BUILD_FILE_NAME}" | cut -f1 -d' ')"
- name: upload
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit b29d2bd

Please sign in to comment.