#!/usr/bin/env bash

SPARK_DARIA_GITHUB_RELEASE=$1
if [ "$SPARK_DARIA_GITHUB_RELEASE" = "" ]
  then
    echo "spark-daria github_release script path must be set"
    exit 1
fi

for sparkVersion in 2.2.0 2.2.1 2.3.0; do
  echo $sparkVersion
  sed -i '' "s/^val sparkVersion.*/val sparkVersion = \"$sparkVersion\"/" build.sbt
  $SPARK_DARIA_GITHUB_RELEASE assembly
done
Add a script to make multiple releases that can get picked up by JitPack
Add a script to make multiple releases that can get picked up by JitPack
