Skip to content

Commit 91ae69c

Browse files
authored
Grant binaries exec permissions before packaging with tarball (#389)
1 parent 80dbbef commit 91ae69c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ jobs:
142142
with:
143143
name: ipatool-${{ needs.get_version.outputs.version }}-linux-${{ matrix.arch }}
144144
path: bin
145-
- run: tar -czvf $FILE.tar.gz bin/$FILE
145+
- run: chmod +x bin/$FILE && tar -czvf $FILE.tar.gz bin/$FILE
146146
env:
147147
FILE: ipatool-${{ needs.get_version.outputs.version }}-linux-${{ matrix.arch }}
148148
- run: ./tools/sha256sum.sh $TARBALL > $TARBALL.sha256sum
@@ -167,14 +167,14 @@ jobs:
167167
with:
168168
name: ipatool-${{ needs.get_version.outputs.version }}-macos-arm64
169169
path: bin
170-
- run: tar -czvf $BIN.tar.gz bin/$BIN && rm -rf bin/
170+
- run: chmod +x bin/$BIN && tar -czvf $BIN.tar.gz bin/$BIN && rm -rf bin/
171171
env:
172172
BIN: ipatool-${{ needs.get_version.outputs.version }}-macos-arm64
173173
- uses: actions/download-artifact@v4
174174
with:
175175
name: ipatool-${{ needs.get_version.outputs.version }}-macos-amd64
176176
path: bin
177-
- run: tar -czvf $FILE.tar.gz bin/$FILE && rm -rf bin/
177+
- run: chmod +x bin/$FILE && tar -czvf $FILE.tar.gz bin/$FILE && rm -rf bin/
178178
env:
179179
FILE: ipatool-${{ needs.get_version.outputs.version }}-macos-amd64
180180
- id: sha256

0 commit comments

Comments
 (0)