Skip to content

Commit

Permalink
Add spark_release script to 0.4 (#565)
Browse files Browse the repository at this point in the history
* add spark_release.sh (#562)

* add permissions on release script

* upgrade sbt-protoc version

---------

Co-authored-by: Lin Zhou <[email protected]>
  • Loading branch information
zhu-tom and linzhou-db authored Aug 13, 2024
1 parent f2cafef commit 8cfd705
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions dev/spark_release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/bin/bash -e -pipe

export GPG_TTY=$(tty)

# Switch to the project root directory
cd $( dirname $0 )
cd ..

# Clean up uncommitted files
git clean -fdx

# Clean existing artifacts
build/sbt clean

printf "Please type the release version: "
read VERSION
echo $VERSION

build/sbt "release skip-tests"

# Switch to the release commit
git tag v$VERSION

echo "=== Generated all release artifacts ==="
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.3")

addSbtPlugin("org.scalastyle" %% "scalastyle-sbt-plugin" % "1.0.0")

addSbtPlugin("com.thesamet" % "sbt-protoc" % "1.0.2")
addSbtPlugin("com.thesamet" % "sbt-protoc" % "1.0.6")

addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.7.6")

Expand Down

0 comments on commit 8cfd705

Please sign in to comment.