add item commands

This commit is contained in:
2026-04-01 18:18:05 +08:00
commit c9ae8e02e1
246 changed files with 51813 additions and 0 deletions

38
circle.yml Normal file
View File

@@ -0,0 +1,38 @@
version: 2
executorType: docker
containerInfo:
- image: maven:3.5-jdk-8
jobs:
build:
branches:
ignore:
- l10n
working_directory: "~/BedwarsRel"
steps:
- type: checkout
- run:
name: "Getting Dependencies"
command: './get-dependencies.sh'
working_directory: "~/BedwarsRel/build"
- run:
name: "Building and deploying BedwarsRel"
command: |
export SHORT_HASH=$(echo $CIRCLE_SHA1 | cut -c -7)
if [ "${CIRCLE_BRANCH}" == "master" ]
then
mvn deploy -fae -P ci-release,deploy-snapshot,attach-javadocs,attach-sources --settings settings.xml
elif [ "${CIRCLE_BRANCH}" == "develop" ]
then
mvn deploy -fae -P ci-snapshot,deploy-snapshot,attach-javadocs,attach-sources --settings settings.xml
else
mvn clean install -fae -P ci-snapshot,attach-javadocs,attach-sources
fi
mkdir -p plugin/target/artifacts/
cp plugin/target/BedwarsRel-*.jar plugin/target/artifacts/.
- type: artifacts-store
path: plugin/target/artifacts
destination: artifacts
- type: artifacts-store
path: plugin/target/apidocs
destination: apidocs