Skip to content

Commit 4b00c47

Browse files
committed
Fix release workflow
1 parent 5fbff9b commit 4b00c47

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -84,17 +84,11 @@ jobs:
8484
with:
8585
path: dist
8686

87-
# Add the install.sh script to the release
88-
- name: Prepare install script
89-
run: |
90-
cp install.sh dist/
91-
chmod +x dist/install.sh
92-
9387
# Generate checksums for all artifacts
9488
- name: Generate checksums
9589
run: |
9690
cd dist
97-
find . -type f -not -path "*/\.*" | grep -v "checksums.txt" | xargs -I{} shasum -a 256 {} > checksums.txt
91+
find aiscript-* -type f | xargs -I{} shasum -a 256 {} > checksums.txt
9892
cat checksums.txt
9993
10094
- name: Prepare release files
@@ -104,7 +98,6 @@ jobs:
10498
cp dist/aiscript-macos-x86_64/aiscript-macos-x86_64 release_files/
10599
cp dist/aiscript-macos-arm64/aiscript-macos-arm64 release_files/
106100
cp dist/aiscript-windows-x86_64.exe/aiscript-windows-x86_64.exe release_files/
107-
cp dist/install.sh release_files/
108101
cp dist/checksums.txt release_files/
109102
110103
- name: Create release

0 commit comments

Comments
 (0)