update ci
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
prop() {
|
||||
grep "${1}" gradle.properties | cut -d'=' -f2 | sed 's/\r//'
|
||||
grep "^[[:space:]]*${1}" gradle.properties | cut -d'=' -f2 | sed 's/^[[:space:]]*//; s/\r//'
|
||||
}
|
||||
|
||||
project_id="luminol"
|
||||
@@ -14,12 +14,10 @@ jarName="$project_id-$mcversion-paperclip.jar"
|
||||
jarName_dir="build/libs/$jarName"
|
||||
make_latest=$([ $preVersion = "true" ] && echo "false" || echo "true")
|
||||
|
||||
ls build/libs
|
||||
echo "build/libs/$project_id-paperclip-$grdversion-reobf.jar >> build/libs/$jarName"
|
||||
echo "build/libs/$project_id-bundler-$grdversion-reobf.jar >> build/libs/$project_id-$mcversion-bundler.jar"
|
||||
mv build/libs/$project_id-paperclip-$grdversion-reobf.jar build/libs/$jarName
|
||||
mv build/libs/$project_id-bundler-$grdversion-reobf.jar build/libs/$project_id-$mcversion-bundler.jar
|
||||
|
||||
|
||||
echo "project_id=$project_id" >> $GITHUB_ENV
|
||||
echo "project_id_b=$project_id_b" >> $GITHUB_ENV
|
||||
echo "commit_id=$commitid" >> $GITHUB_ENV
|
||||
|
||||
Reference in New Issue
Block a user