Skip to content

Commit

Permalink
remove aarch64 from release binary upload
Browse files Browse the repository at this point in the history
  • Loading branch information
seanvaleo committed Dec 6, 2023
1 parent acf1819 commit 89ee35c
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/new-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,9 @@ jobs:
mkdir ${TMPDIR}/lib
cp conf/scope.yml ${TMPDIR}/scope
for ARCH in x86_64 aarch64; do
# removing aarch64 for now
# for ARCH in x86_64 aarch64; do
for ARCH in x86_64; do
cp bin/linux/${ARCH}/scope ${TMPDIR}/scope
cp lib/linux/${ARCH}/libscope.so ${TMPDIR}/scope
# Create tgz and tgz.md5 of binaries and config (for each arch)
Expand All @@ -387,7 +389,9 @@ jobs:
done

cp conf/scope.yml ${TMPDIR}/lib
for ARCH in x86_64 aarch64; do
# removing aarch64 for now
# for ARCH in x86_64 aarch64; do
for ARCH in x86_64; do
cp bin/linux/${ARCH}/scope ${TMPDIR}/lib
cp lib/linux/${ARCH}/libscope.so ${TMPDIR}/lib
# Create zip and zip.md5 of binaries and config (for each arch)
Expand All @@ -400,7 +404,9 @@ jobs:

if [ "unreleased" != "${{ needs.info.outputs.tag }}" -a "next" != "${{ needs.info.outputs.tag }}" ]; then
echo "::group::Attach Release Assets to https://github.com/appscope-team/appscope/releases/tag/${{ needs.info.outputs.version }}"
for ARCH in x86_64 aarch64; do
# removing aarch64 for now
# for ARCH in x86_64 aarch64; do
for ARCH in x86_64; do
gh release upload ${{ needs.info.outputs.version }} "${TMPDIR}/scope-${ARCH}"
gh release upload ${{ needs.info.outputs.version }} "${TMPDIR}/scope-${ARCH}.md5"
gh release upload ${{ needs.info.outputs.version }} "${TMPDIR}/scope-${ARCH}.tgz"
Expand Down

0 comments on commit 89ee35c

Please sign in to comment.