Skip to content

Commit

Permalink
chore: add shasum to aur-bin, update release body in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Curstantine committed Jan 30, 2024
1 parent 6d6193c commit 0c2f286
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,14 @@ jobs:

- name: Checksum values for binary and sources
run: |
sha256sum sources.tar.zst > sha256_sources.txt
sha256sum sources/osu-helper-script > sha256_osu-helper-script.txt
echo "SHA256 for sources.tar.zst: $(cat sha256_sources.txt)" > BODY.txt
echo "SHA256 for osu-helper-script: $(cat sha256_osu-helper-script.txt)" >> BODY.txt
echo "## Checksum" >> BODY.md
echo "SHA256 for `sources.tar.zst`: `$(sha256sum sources.tar.zst | awk '{ print $1 }')`\n" > BODY.md
echo "SHA256 for `osu-helper-script`: `$(sha256sum sources/osu-helper-script | awk '{ print $1 }')"` >> BODY.md
- name: Create release
uses: softprops/action-gh-release@v1
with:
body_path: ./BODY.txt
body_path: ./BODY.md
files: |
sources/osu-helper-script
sources.tar.zst
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# osu_helper_script

Script to ease the process of downloading, updating, running and managing different versions of osu!
Script to download, update, and manage osu! lazer.

Out of the box, this tool allows you to:

Expand All @@ -9,7 +9,7 @@ Out of the box, this tool allows you to:

## Installation

> **Warning**
> [!WARNING]
> This is only tested on linux, and will only target linux/unix-like systems in the future.
>
> While it may be possible to compile and "run" on windows, it is guaranteed to break something.
Expand Down
2 changes: 1 addition & 1 deletion packages/aur-bin/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ license=('MIT')
depends=()
provides="osu-helper-script"
source=("https://github.com/Curstantine/osu_helper_script/releases/download/${pkgver}/sources.tar.zst")
sha256sums=('ea1b2c900047a70f5c4f39722f16599ff81bb9d178de7ff786d2d024ea65220e')
sha256sums=('06bd83c4d6c8325a832a472a5a2fbb53fab7737364f1e9e2778aea10d07b58a2')

package() {
bin_name="${pkgname%-bin}"
Expand Down

0 comments on commit 0c2f286

Please sign in to comment.