Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

Commit

Permalink
Bump microservice release version & updated build- and package-instru…
Browse files Browse the repository at this point in the history
…ctions in readme. (RITDEV-628)
  • Loading branch information
mcoonen committed Apr 15, 2019
1 parent 74b2526 commit 8097026
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ cmake_minimum_required(VERSION 3.3.0 FATAL_ERROR)
# Set global CMAKE variables
# Note: Some of the include dirs (like CURL) can automatically be found by CMake at the 'include_directories' step and do not have to be set here.
# See https://cmake.org/cmake/help/v3.0/module/FindCURL.html
set(MSI_RELEASE_VERSION "1.1.0")
set(MSI_RELEASE_VERSION "2.0.0")

set(IRODS_VERSION $ENV{IRODS_VERSION}) # Get iRODS version from environment
#set(IRODS_VERSION "4.2.4") # Or specificy iRODS version manually
Expand Down
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,24 +39,27 @@ sudo sh cmake-3.12.0-Linux-x86_64.sh --prefix=/usr/local --exclude-subdir
```

## Building

_These instructions assume that this microservice git-repository has been cloned into `/microservices`_
```
mkdir build && cd build
mkdir /build && cd /build
cmake /microservices # Generates all the make files
# NOTE: in CentOS, use `cmake3 /microservices`
make # Compiles the project based on all the make files
make install # Installs the .so files into the microservices plugin directory
```

## Packaging

1. Open the _CMakeLists.txt_ file and update the value of `set(MSI_RELEASE_VERSION "2.0.0")` to the version tag you are releasing.
1. Execute the build steps above (excluding `make install`)
1. Execute the commands below to create the package
```
cd /microservices/build
cd /build
make package
# Move resulting package back to /microservices
# Move resulting package back to /microservices/packages/
make rit-package
```

Find your .rpm or .deb package in the `/microservices/build` directory. <br><br>
Find your .rpm or .deb package in the `/microservices/packages` directory. <br><br>
The name of the package is constructed like this: `rit-irods-microservices-IRODS VERSION_MSI RELEASE VERSION-1.rpm|deb`

## Releasing
Expand Down

0 comments on commit 8097026

Please sign in to comment.