Skip to content
Permalink
Browse files
IGNITE-7251 Remove term "fabric" from Ignite deliverables
 * modified scripts to comply with "fabric" removal
  • Loading branch information
vveider committed Sep 27, 2018
1 parent b881e2a commit cd85ac1fe92ae0381d9f4d4e3d2132d4360d6caa
Showing 1 changed file with 15 additions and 15 deletions.
@@ -11,32 +11,32 @@ chmod +x release.properties


#
# Build RPM packages
# Check GPG requirements
#
if [ -d packaging ]; then
rm -rf packaging
if [ "$(gpg --version | head -1 | sed -r 's|^.*([0-9]+)\.[0-9]+\.[0-9]+$|\1|')" != "2" ]; then
echo "[ERROR] Wrong GPG version: $(gpg --version | head -1), have to be 2.x and higher"
exit 1
fi
cp -rfv git/packaging ./
cp -rfv svn/vote/apache-ignite-fabric-${ignite_version}-bin.zip packaging/
bash packaging/package.sh --rpm
gpg_key="$(gpg --list-keys | grep -C1 "^pub" | tail -1 | sed -r 's|^\ +||')"


#
# Build DEB packages
# Build packages
#
if [ -d packaging ]; then
rm -rf packaging
fi
cp -rfv git/packaging ./
cp -rfv svn/vote/apache-ignite-${ignite_version}-bin.zip packaging/
bash packaging/package.sh --rpm
bash packaging/package.sh --deb


#
# Sign RPM packages
#
rpm --define "_gpg_name $(gpg --list-keys | grep uid | head -1 | sed -r 's|uid\ +\[.*\] (.*)|\1|')" --addsign packaging/*.rpm


#
# Sign DEB packages
# Sign packages
#
dpkg-sig -k $(gpg --list-keys | grep "^pub" | head -1 | cut -f2 -d / | cut -f1 -d" ") --sign builder packaging/*.deb
rpm --define "_gpg_name ${gpg_key}" --addsign packaging/*.rpm
dpkg-sig -k ${gpg_key} --sign builder packaging/*.deb


#

0 comments on commit cd85ac1

Please sign in to comment.