use paperclip instead of yatoclip (#440)

* use paperclip instead of yatoclip

* update README.md
This commit is contained in:
Simon Gardling 2021-03-16 18:25:29 -04:00 committed by GitHub
parent c4a68471e4
commit fea0b562a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -75,12 +75,12 @@ jobs:
- name: Build Yatopia
run: |
./gradlew clean build yatoclip
./gradlew clean build paperclip
- name: Upload Artifact
if: github.ref != 'refs/heads/ver/1.16.4'
uses: actions/upload-artifact@v2
with:
name: Yatopia-${{ matrix.java }}
path: yatopia-1.16.5-yatoclip.jar
path: yatopia-1.16.5-paperclip.jar

4
Jenkinsfile vendored
View File

@ -51,12 +51,12 @@ pipeline {
) {
withCredentials([usernamePassword(credentialsId: 'jenkins-deploy', usernameVariable: 'ORG_GRADLE_PROJECT_mavenUsername', passwordVariable: 'ORG_GRADLE_PROJECT_mavenPassword')]) {
sh '''
./gradlew clean build yatoclip publish
./gradlew clean build paperclip publish
mkdir -p "./target"
basedir=$(pwd)
paperworkdir="$basedir/Paper/work"
mcver=$(cat "$paperworkdir/BuildData/info.json" | grep minecraftVersion | cut -d '"' -f 4)
cp "yatopia-$mcver-yatoclip.jar" "./target/yatopia-$mcver-yatoclip-b$BUILD_NUMBER.jar"
cp "yatopia-$mcver-paperclip.jar" "./target/yatopia-$mcver-paperclip-b$BUILD_NUMBER.jar"
'''
}
}

View File

@ -35,7 +35,7 @@ ## Building and setting up
./gradlew initGitSubmodules
./gradlew setupUpstream
./gradlew applyPatches
./gradlew yatoclip
./gradlew paperclip
```