Skip to content
Snippets Groups Projects
Commit 5f984c16 authored by Éloïs's avatar Éloïs
Browse files

Update new_prerelease.sh : remove linux builds

parent 41b9c877
No related branches found
No related tags found
No related merge requests found
...@@ -32,28 +32,13 @@ echo "Remote tag: $REMOTE_TAG" ...@@ -32,28 +32,13 @@ echo "Remote tag: $REMOTE_TAG"
echo "Creating the pre-release..." echo "Creating the pre-release..."
ASSETS=`node ./release/scripts/create-release.js $TOKEN $TAG create` ASSETS=`node ./release/scripts/create-release.js $TOKEN $TAG create`
EXPECTED_ASSETS="duniter-desktop-$TAG-linux-x64.deb EXPECTED_ASSETS="duniter-desktop-$TAG-windows-x64.exe
duniter-desktop-$TAG-linux-x64.tar.gz
duniter-server-$TAG-linux-x64.deb
duniter-desktop-$TAG-windows-x64.exe
duniter-server-$TAG-linux-armv7l.deb" duniter-server-$TAG-linux-armv7l.deb"
for asset in $EXPECTED_ASSETS; do for asset in $EXPECTED_ASSETS; do
if [[ -z `echo $ASSETS | grep -F "$asset"` ]]; then if [[ -z `echo $ASSETS | grep -F "$asset"` ]]; then
echo "Missing asset: $asset" echo "Missing asset: $asset"
# Linux
if [[ $asset == *"linux-x64.deb" ]] || [[ $asset == *"linux-x64.tar.gz" ]]; then
if [[ $ARCH == "x86_64" ]]; then
echo "Starting Linux build..."
./release/scripts/build.sh make lin $TAG
LIN_PATH="$PWD/release/arch/linux/$asset"
node ./release/scripts/upload-release.js $TOKEN $TAG $LIN_PATH
else
echo "This computer cannot build this asset, required architecture is 'x86_64'. Skipping."
fi
fi
# Windows # Windows
if [[ $asset == *".exe" ]]; then if [[ $asset == *".exe" ]]; then
if [[ $ARCH == "x86_64" ]]; then if [[ $ARCH == "x86_64" ]]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment