Skip to content

Commit

Permalink
Updated to include linux tarball for RHEL7
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Quinn <[email protected]>
  • Loading branch information
fquinner committed Oct 8, 2019
1 parent a933b98 commit b11d8eb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,7 @@ artifacts:
name: OpenMAMA RPM Package
- path: '*.zip'
name: OpenMAMA Windows Release
- path: '*.tar.gz'
name: OpenMAMA Linux Install Tarball

test: off
2 changes: 1 addition & 1 deletion release_scripts/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,5 @@ RUN cp profiles/profile.openmama . && rm -rf profiles
# When RPMs are generated, they'll go here
WORKDIR $RELEASE_DIR

# Generate the package (deb / rpm / tarball). Will become script
# Generate the package (deb / rpm / tarball).
CMD $SRC_DIR/release_scripts/build-package.sh
6 changes: 6 additions & 0 deletions release_scripts/build-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,9 @@ fpm -s dir \
$DEPENDS_FLAGS \
-p openmama-$VERSION-1.$DISTRIB_PACKAGE_QUALIFIER.x86_64.$PACKAGE_TYPE \
--description "OpenMAMA high performance Market Data API" .

# Only generate the tarball for RHEL 7
if [ "$DISTRIB_PACKAGE_QUALIFIER" == "el7" ]
then
tar -C $PREFIX -czf openmama-$VERSION.linux.x86_64.tar.gz --transform "s,^\./opt/openmama/,openmama-$VERSION/," ./
fi

0 comments on commit b11d8eb

Please sign in to comment.