Skip to content

Commit

Permalink
Disable deb and rpm for riscv64 [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
kxxt committed Jun 11, 2024
1 parent 3431fd6 commit 4398d41
Showing 1 changed file with 7 additions and 16 deletions.
23 changes: 7 additions & 16 deletions check_tags.sh
Original file line number Diff line number Diff line change
Expand Up @@ -330,20 +330,10 @@ elif [[ "${ASSETS}" != "null" ]]; then

# linux-riscv64
if [[ "${VSCODE_ARCH}" == "riscv64" || "${CHECK_ALL}" == "yes" ]]; then
if [[ -z $( contains "riscv64.deb" ) ]]; then
echo "Building on Linux RISC-V 64 because we have no DEB"
export SHOULD_BUILD="yes"
else
export SHOULD_BUILD_DEB="no"
fi

if [[ -z $( contains "riscv64.rpm" ) ]]; then
echo "Building on Linux RISC-V 64 because we have no RPM"
export SHOULD_BUILD="yes"
else
export SHOULD_BUILD_RPM="no"
fi

export SHOULD_BUILD_DEB="no"
export SHOULD_BUILD_RPM="no"
export SHOULD_BUILD_APPIMAGE="no"

if [[ -z $( contains "${APP_NAME}-linux-riscv64-${RELEASE_VERSION}.tar.gz" ) ]]; then
echo "Building on Linux RISC-V 64 because we have no TAR"
export SHOULD_BUILD="yes"
Expand All @@ -358,8 +348,6 @@ elif [[ "${ASSETS}" != "null" ]]; then
export SHOULD_BUILD_REH="no"
fi

export SHOULD_BUILD_APPIMAGE="no"

if [[ "${SHOULD_BUILD}" != "yes" ]]; then
echo "Already have all the Linux riscv64 builds"
fi
Expand Down Expand Up @@ -416,6 +404,9 @@ else
SHOULD_BUILD_DEB="no"
SHOULD_BUILD_RPM="no"
SHOULD_BUILD_TAR="no"
elif [[ "${VSCODE_ARCH}" == "riscv64" ]]; then
SHOULD_BUILD_DEB="no"
SHOULD_BUILD_RPM="no"
fi
if [[ "${VSCODE_ARCH}" != "x64" ]]; then
export SHOULD_BUILD_APPIMAGE="no"
Expand Down

0 comments on commit 4398d41

Please sign in to comment.