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
33url = https://github.com/gaocegege/Processing.R
44sentence = Processing in R Language
55paragraph =
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
88maxVersion = 0
99minVersion = 260
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- # Usage: deploy.sh <version>
3+ # Usage: deploy.sh <version> <full version>
44
55ROOT=$( dirname " ${BASH_SOURCE} " ) /..
6- numberOfParams=1
6+ numberOfParams=2
77
88# Timestamped log, e.g. log "started to build the binary".
99#
@@ -33,8 +33,9 @@ function deploy {
3333 # Get commit ID.
3434 commitid=$( git log -n1 --format=" %h" )
3535 version=${1}
36+ full_version=${2}
3637 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} "
3839
3940 perl -i -pe " s|\@\@mode-version\@\@|${version} |g" docs/RLangMode.txt
4041 perl -i -pe " s|\@\@pretty-version\@\@|${pretty_version} |g" docs/RLangMode.txt
You can’t perform that action at this time.
0 commit comments