Skip to content

Commit

Permalink
Fix deployment process
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Feb 6, 2019
1 parent 9f8df51 commit 4880439
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
13 changes: 10 additions & 3 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,17 @@ steps:
fi
CHANNEL=stable
echo $PLUGIN_VERSION | grep -qi rc && CHANNEL=beta
if $(echo $PLUGIN_VERSION | grep -qi rc)
then
CHANNEL=beta
V=$(echo $PLUGIN_VERSION | sed -e 's/-\([rR][cC]\)/-0.1\1/')
DEB_FILE=target/thehive_$${V}_all.deb
RPM_FILE=target/rpm/RPMS/noarch/thehive-$${V}.noarch.rpm
else
DEB_FILE=target/thehive_$${PLUGIN_VERSION}_all.deb
RPM_FILE=target/rpm/RPMS/noarch/thehive-$${PLUGIN_VERSION}.noarch.rpm
fi
DEB_FILE=target/thehive_$${PLUGIN_VERSION}_all.deb
RPM_FILE=target/rpm/RPMS/noarch/thehive-$${PLUGIN_VERSION}.noarch.rpm
ZIP_FILE=target/universal/thehive-$${PLUGIN_VERSION}.zip
upload \
Expand Down
2 changes: 1 addition & 1 deletion version.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version in ThisBuild := "3.3.0-rc1"
version in ThisBuild := "3.3.0-RC1"

0 comments on commit 4880439

Please sign in to comment.