Skip to content

Commit

Permalink
update to 1.20.6
Browse files Browse the repository at this point in the history
  • Loading branch information
CodedSakura committed May 6, 2024
1 parent 80ec043 commit 0852ff8
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 22 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Get tag
id: tag
uses: dawidd6/action-get-tag@v1

- name: Generate changelog
run: /bin/sh ./changes.sh ${{ steps.tag.outputs.tag }} ./changelog.out.md
run: /bin/sh ./changes.sh ${{ github.ref_name }} ./changelog.out.md

- name: Upload changelog
uses: actions/upload-artifact@v3
Expand All @@ -37,10 +33,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
cache: 'gradle'

Expand All @@ -57,6 +53,8 @@ jobs:
env:
USERNAME: ${{ github.actor }}
TOKEN: ${{ secrets.GITHUB_TOKEN }}
CS_USERNAME: "codedsakura"
CS_TOKEN: ${{ secrets.CODEDSAKURA_MAVEN_TOKEN }}
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
CHANGELOG_PATH: "./changelog.out.md"

Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 2.0.7

* Update to support 1.20.6
* Switch to self-hosted maven

# 2.0.6

* Update to support 1.20.4
Expand Down
18 changes: 10 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'fabric-loom' version '1.4-SNAPSHOT'
id 'fabric-loom' version '1.6-SNAPSHOT'
id 'maven-publish'
id "com.modrinth.minotaur" version "2.+"
}
Expand All @@ -10,15 +10,9 @@ group = project.maven_group

repositories {
mavenLocal()
maven {
url "https://maven.pkg.github.com/BlossomMods/BlossomLib"
credentials {
username = System.getenv("USERNAME")
password = System.getenv("TOKEN")
}
}
maven { url "https://maven.nucleoid.xyz" }
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
maven { url "https://maven.codedsakura.dev/releases" }
}

dependencies {
Expand Down Expand Up @@ -78,6 +72,14 @@ publishing {
password = System.getenv("TOKEN")
}
}
maven {
name = "codedsakuraMavenReleases"
url = uri("https://maven.codedsakura.dev/releases")
credentials {
username = System.getenv("CS_USERNAME")
password = System.getenv("CS_TOKEN")
}
}
}
}

Expand Down
12 changes: 6 additions & 6 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
org.gradle.jvmargs=-Xmx1G

# Mod Properties
mod_version=2.0.6
mod_version=2.0.7
maven_group=dev.codedsakura.blossom
mod_slug=BlossomWarps
archives_base_name=blossom-warps
supported_versions=1.20.4
supported_versions=1.20.6

# Fabric Properties
# check these on https://modmuss50.me/fabric.html
minecraft_version=1.20.4
minecraft_version=1.20.6
yarn_mappings=build.1
loader_version=0.15.1
loader_version=0.15.11

# Dependencies
fabric_version=0.91.2
blossomlib_version=2.5.6
fabric_version=0.97.8
blossomlib_version=2.5.7
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 0852ff8

Please sign in to comment.