Skip to content

Commit 121c0fc

Browse files
deploy.sh: prevent missing script build error
and add usage example, note
1 parent 7599d0f commit 121c0fc

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

scripts/deploy.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
#!/usr/bin/env bash
22

33
# Usage: deploy.sh <version> <full version>
4+
#
5+
# Example:
6+
# cd scripts
7+
# ./deploy.sh 107 v1.0.7
8+
#
9+
# Requires jdk8, which may be set with JAVA_HOME env variables.
10+
# See RELEASE.md for details on using this script.
411

512
ROOT=$(dirname "${BASH_SOURCE}")/..
613
numberOfParams=2
@@ -39,7 +46,7 @@ function deploy {
3946
perl -i -pe "s|\@\@mode-version\@\@|${version}|g" docs/RLangMode.txt
4047
perl -i -pe "s|\@\@pretty-version\@\@|${full_version}|g" docs/RLangMode.txt
4148

42-
source "$(dirname "${BASH_SOURCE}")/utils/generator-util.sh"
49+
source "scripts/utils/generator-util.sh"
4350

4451
# Path to be changed
4552
modes="${HOME}/Documents/Processing/modes"

0 commit comments

Comments
 (0)