Skip to content

Commit

Permalink
mc1.18.2-v1.1.5 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
EDToaster committed Mar 21, 2022
2 parents dc52fdb + 9b0e289 commit d535dec
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 8 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,12 @@ jobs:
# we can get the release name.
run: |
NEW_VERSION=$(echo "${GITHUB_REF}" | cut -d "/" -f3)
NEW_VERSION_TRUNC=$(echo "${NEW_VERSION}" | grep -oP 'mc[0-9]+\.[0-9]+(?:\.[0-9]+)?-v\K[0-9\.a-zA-Z]+')
echo "New version: ${NEW_VERSION}"
echo "Truncated version: ${NEW_VERSION_TRUNC}"
[ -z "${NEW_VERSION_TRUNC}" ] && exit 1
echo "Github username: ${GITHUB_ACTOR}"
echo "maven.edtoaster.ca username: ${EDTOASTER_MAVEN_USER}"
./gradlew wrapper
./gradlew runData
./gradlew -Pversion=${NEW_VERSION} publish
./gradlew -Pmod_version=${NEW_VERSION_TRUNC} publish
24 changes: 24 additions & 0 deletions .github/workflows/verify-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Verify PR

on:
push:
pull_request:
workflow_dispatch:

jobs:
verify-pr:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'adopt'

- name: Verify artifact
run: |
./gradlew wrapper
./gradlew runData
./gradlew build
9 changes: 4 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -252,11 +252,10 @@ repositories {
name = "Progwml6 maven"
url = "https://dvs1.progwml6.com/files/maven/"
}

maven {
// location of a maven mirror for JEI files, as a fallback
name = "ModMaven"
url = "https://modmaven.dev"
// location of patchouli
name = "Jared"
url 'https://maven.blamejared.com'
}
maven { url 'https://maven.blamejared.com' }

}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ org.gradle.jvmargs = -Xmx3G
org.gradle.daemon = false

# Core properties
mod_version = 1.1.4
mod_version = 1.1.0dev
mod_group = dev.murad.littlelogistics
mod_id = littlelogistics
mod_title = Little Logistics
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,9 @@ protected void defineSynchedData() {


public void setPath(TugRoute path) {
this.nextStop = 0;
if (!this.path.isEmpty()){
this.nextStop = 0;
}
this.path = path;
}

Expand Down

0 comments on commit d535dec

Please sign in to comment.