Skip to content
This repository has been archived by the owner on Jun 19, 2021. It is now read-only.

Commit

Permalink
Merge branch 'ver/1.16.5' of github.com:YatopiaMC/Yatopia into stagin…
Browse files Browse the repository at this point in the history
…g/1.16.5
  • Loading branch information
Titaniumtown committed Mar 22, 2021
2 parents 6c76e8a + fea0b56 commit 5e0ce3d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
'''
}
}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Run the following commands in the root directory:
./gradlew initGitSubmodules
./gradlew setupUpstream
./gradlew applyPatches
./gradlew yatoclip
./gradlew paperclip
```


Expand Down

0 comments on commit 5e0ce3d

Please sign in to comment.