13 lines
363 B
Bash
Executable File
13 lines
363 B
Bash
Executable File
#! /bin/bash
|
|
# 发布之前,必须先提交 !!!! 发布之前,必须先提交 !!!! 发布之前,必须先提交 !!!!
|
|
# 使用方法: ./publish.sh 版本号.
|
|
# git pull; git add . ;git commit -m " 发布版本 $*" ; git push
|
|
|
|
for p in $(ls .)
|
|
do
|
|
gradle --daemon --parallel -DbuildProduct=true -b $p/build.grade clean publish -DreleaseVersion=$1
|
|
done
|
|
|
|
|
|
|