Skip to content

Commit

Permalink
CI: determine frontend org/user from pom.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
inodb committed Nov 23, 2019
1 parent d7c1cee commit 87300db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ jobs:
name: Pull frontend code
command: |
export FRONTEND_VERSION=$(grep 'frontend\.version' pom.xml | sed 's/<frontend\.version>//g' | sed 's|</frontend\.version>||' | tr -d '[:blank:]') && \
export FRONTEND_ORG=$(grep 'frontend\.groupId' pom.xml | sed 's/<frontend\.groupId>//g' | sed 's|</frontend\.groupId>||' | tr -d '[:blank:]' | cut -d. -f3) && \
cd .. && \
git clone https://github.com/$CIRCLE_PROJECT_USERNAME/cbioportal-frontend.git && \
git clone https://github.com/$FRONTEND_ORG/cbioportal-frontend.git && \
cd cbioportal-frontend && \
git fetch --tags && \
git checkout ${FRONTEND_VERSION}
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,8 @@
</profiles>

<properties>
<frontend.version>2b16f8bdfa6c862add35397ece92141dc6da844d</frontend.version>
<frontend.groupId>com.github.inodb</frontend.groupId>
<frontend.version>72c9efab37aa5abe1888dd04183842f130b738b3</frontend.version>
<frontend.groupId>com.github.cbioportal</frontend.groupId>
<slf4j.version>1.6.6</slf4j.version>
<spring.version>4.3.14.RELEASE</spring.version>
<spring.context.support.version>4.3.14.RELEASE</spring.context.support.version>
Expand Down

0 comments on commit 87300db

Please sign in to comment.