File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ authorList = [Processing.R Authors](https://github.com/gaocegege/Processing.R/bl
3
3
url = https://github.com/gaocegege/Processing.R
4
4
sentence = Processing in R Language
5
5
paragraph =
6
- version = v1.0.4
7
- prettyVersion = Version v1.0.4, commit 5a0c982 , built 2017/08/03 17:18
6
+ version = 104
7
+ prettyVersion = Version v1.0.4, commit dc0a317 , built 2017/08/03 21:50
8
8
maxVersion = 0
9
9
minVersion = 260
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
- # Usage: deploy.sh <version>
3
+ # Usage: deploy.sh <version> <full version>
4
4
5
5
ROOT=$( dirname " ${BASH_SOURCE} " ) /..
6
- numberOfParams=1
6
+ numberOfParams=2
7
7
8
8
# Timestamped log, e.g. log "started to build the binary".
9
9
#
@@ -33,8 +33,9 @@ function deploy {
33
33
# Get commit ID.
34
34
commitid=$( git log -n1 --format=" %h" )
35
35
version=${1}
36
+ full_version=${2}
36
37
date=` date " +%Y/%m/%d %R" `
37
- pretty_version=" Version ${version } , commit ${commitid} , built ${date} "
38
+ pretty_version=" Version ${full_version } , commit ${commitid} , built ${date} "
38
39
39
40
perl -i -pe " s|\@\@mode-version\@\@|${version} |g" docs/RLangMode.txt
40
41
perl -i -pe " s|\@\@pretty-version\@\@|${pretty_version} |g" docs/RLangMode.txt
You can’t perform that action at this time.
0 commit comments