-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add spark_release script to 0.4 (#565)
* add spark_release.sh (#562) * add permissions on release script * upgrade sbt-protoc version --------- Co-authored-by: Lin Zhou <[email protected]>
- Loading branch information
1 parent
f2cafef
commit 8cfd705
Showing
2 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ===" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters