Skip to content

Commit b11d8eb

Browse files
committed
Updated to include linux tarball for RHEL7
Signed-off-by: Frank Quinn <[email protected]>
1 parent a933b98 commit b11d8eb

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

.appveyor.yml

+2
Original file line numberDiff line numberDiff line change
@@ -89,5 +89,7 @@ artifacts:
8989
name: OpenMAMA RPM Package
9090
- path: '*.zip'
9191
name: OpenMAMA Windows Release
92+
- path: '*.tar.gz'
93+
name: OpenMAMA Linux Install Tarball
9294

9395
test: off

release_scripts/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,5 @@ RUN cp profiles/profile.openmama . && rm -rf profiles
6767
# When RPMs are generated, they'll go here
6868
WORKDIR $RELEASE_DIR
6969

70-
# Generate the package (deb / rpm / tarball). Will become script
70+
# Generate the package (deb / rpm / tarball).
7171
CMD $SRC_DIR/release_scripts/build-package.sh

release_scripts/build-package.sh

+6
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,9 @@ fpm -s dir \
7070
$DEPENDS_FLAGS \
7171
-p openmama-$VERSION-1.$DISTRIB_PACKAGE_QUALIFIER.x86_64.$PACKAGE_TYPE \
7272
--description "OpenMAMA high performance Market Data API" .
73+
74+
# Only generate the tarball for RHEL 7
75+
if [ "$DISTRIB_PACKAGE_QUALIFIER" == "el7" ]
76+
then
77+
tar -C $PREFIX -czf openmama-$VERSION.linux.x86_64.tar.gz --transform "s,^\./opt/openmama/,openmama-$VERSION/," ./
78+
fi

0 commit comments

Comments
 (0)