diff --git a/.drone.yml b/.drone.yml index 9f69f743d..10c087381 100644 --- a/.drone.yml +++ b/.drone.yml @@ -20,7 +20,11 @@ steps: - name: run-tests image: thehiveproject/drone-scala-node commands: - - sbt -Duser.home=$PWD test:compile test + - | + . ~/.nvm/nvm.sh + nvm install 12.18 + npm install -g bower + sbt -Duser.home=$PWD test:compile test Universal/packageBin # Build packages - name: build-packages @@ -35,6 +39,8 @@ steps: exit 1 fi . ~/.nvm/nvm.sh + nvm install 12.18 + npm install -g bower [ -n "$PLUGIN_PGP_KEY" ] && gpg --batch --import - <<< $PLUGIN_PGP_KEY sbt -Duser.home=$PWD Docker/stage Debian/packageBin Rpm/packageBin Universal/packageBin cortexWithDeps/Docker/stage if ( echo $V | grep -qi rc ) @@ -121,6 +127,8 @@ steps: image: thehiveproject/drone-scala-node commands: - sed -i -e 's/,/-withdeps,/g; s/$/-withdeps/' .tags + when: + event: [tag] # Publish docker image on Docker Hub - name: docker fat diff --git a/CHANGELOG.md b/CHANGELOG.md index fb2de93de..4dee82011 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## [3.1.3](https://github.com/TheHive-Project/Cortex/milestone/31) (2021-11-10) + +**Fixed bugs:** + +- The build of frontend fails [\#389](https://github.com/TheHive-Project/Cortex/issues/389) + ## [3.1.2](https://github.com/TheHive-Project/Cortex/milestone/30) (2021-11-05) **Closed issues:** diff --git a/version.sbt b/version.sbt index 646259b53..32aafa8c1 100644 --- a/version.sbt +++ b/version.sbt @@ -1 +1 @@ -ThisBuild / version := "3.1.2-1" +ThisBuild / version := "3.1.3-1" diff --git a/www/package.json b/www/package.json index aa1af9fa8..b5f7eea54 100755 --- a/www/package.json +++ b/www/package.json @@ -1,6 +1,6 @@ { "name": "cortex", - "version": "3.1.1", + "version": "3.1.3", "description": "A powerfull observable analysis engine", "license": "AGPL-3.0-or-later", "homepage": "https://github.com/TheHive-Project/Cortex",