Skip to content

Commit 3b48b14

Browse files
committed
build: Remove x86 MSI package from releases descriptions
1 parent f79c0c4 commit 3b48b14

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

tools/github-nightly-description.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -e
44

5-
unset HEADER
5+
unset HEADER MSI_X86
66

77
while [ -n "$1" ]
88
do
@@ -41,6 +41,11 @@ title: GLPI-Agent Nightly Builds
4141
HEADER
4242
fi
4343

44+
# Support x86 MSI is still available
45+
if [ -e "glpi-agent/GLPI-Agent-$VERSION-x86.msi" -a -e "glpi-agent/GLPI-Agent-$VERSION-x86.zip" ]; then
46+
MSI_X86="32 bits | [GLPI-Agent-$VERSION-x86.msi](GLPI-Agent-$VERSION-x86.msi) | [GLPI-Agent-$VERSION-x86.zip](GLPI-Agent-$VERSION-x86.zip)"
47+
fi
48+
4449
cat <<DESCRIPTION
4550
# GLPI-Agent v$VERSION nightly build
4651
@@ -51,7 +56,7 @@ Built on $DATE
5156
Arch | Windows installer | Windows portable archive
5257
---|:---|:---
5358
64 bits | [GLPI-Agent-$VERSION-x64.msi](GLPI-Agent-$VERSION-x64.msi) | [GLPI-Agent-$VERSION-x64.zip](GLPI-Agent-$VERSION-x64.zip)
54-
32 bits | [GLPI-Agent-$VERSION-x86.msi](GLPI-Agent-$VERSION-x86.msi) | [GLPI-Agent-$VERSION-x86.zip](GLPI-Agent-$VERSION-x86.zip)
59+
$MSI_X86
5560
5661
## MacOSX <a href="#macosx-${VERSION//./-}">#</a> {#macosx-${VERSION//./-}}
5762

tools/github-release-description.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ Don't forget to follow our [installation documentation](https://glpi-agent.readt
4141
Arch | Windows installer | Windows portable archive
4242
---|:---|:---
4343
64 bits | [GLPI-Agent-$VERSION-x64.msi]($REPO/releases/download/$TAG/GLPI-Agent-$VERSION-x64.msi) | [glpi-agent-$VERSION-x64.zip]($REPO/releases/download/$TAG/glpi-agent-$VERSION-x64.zip)
44-
32 bits | [GLPI-Agent-$VERSION-x86.msi]($REPO/releases/download/$TAG/GLPI-Agent-$VERSION-x86.msi) | [glpi-agent-$VERSION-x86.zip]($REPO/releases/download/$TAG/glpi-agent-$VERSION-x86.zip)
4544
4645
## MacOSX
4746

0 commit comments

Comments
 (0)