Skip to content

Commit 7398ab8

Browse files
committed
Fixed some misc gradle methods
1 parent ac99512 commit 7398ab8

File tree

4 files changed

+53
-18
lines changed

4 files changed

+53
-18
lines changed

.github/ISSUE_TEMPLATE/bug_report_template.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,22 @@ body:
6969
attributes:
7070
label: Other relevant versions
7171
description: If this issue is related to any other mods that have been installed alongside Tardis Refined, list the mod's name and version here.
72+
- type: textarea
73+
attributes:
74+
label: Mod List
75+
description: In order to check for compatibility issues, we require your mods list
76+
- type: checkboxes
77+
id: existing
78+
attributes:
79+
label: Please confirm that you have searched existing issues in the repo.
80+
options:
81+
- label: 'Yes, I have checked all open issues and am aware my issue will be closed if it is a duplicate of another'
82+
- type: checkboxes
83+
id: rendering
84+
attributes:
85+
label: Please confirm that if your issue is related to rendering, that you have tested without the following before testing; (Shaders, Optifine, Rubidium, embeddium, Sodium)
86+
options:
87+
- label: 'Yes, I have done testing without these mods before reported a rendering issue or my issue does not relate to rendering'
7288
- type: input
7389
attributes:
7490
label: "Attach the relevant crash report file or log file: (Don't know how to find a crash report file? See the [Minecraft Wiki Tutorial](https://minecraft.fandom.com/wiki/Tutorials/How_to_get_a_crash_report)"

build.gradle

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ plugins {
1515
id "architectury-plugin" version "3.4-SNAPSHOT"
1616
id "dev.architectury.loom" version "1.5+" apply false
1717
id "me.shedaniel.unified-publishing" version "0.1.+"
18+
id "com.github.breadmoirai.github-release" version "2.4.1"
1819
}
1920

2021
architectury {
@@ -40,6 +41,36 @@ subprojects {
4041
}
4142

4243

44+
def forgeDir = new File(project.projectDir, 'forge/build/libs/')
45+
def fabricDir = new File(project.projectDir, 'fabric/build/libs/')
46+
def commonDir = new File(project.projectDir, 'common/build/libs/')
47+
48+
def filter = { File file -> file.getName().contains(mod_version) } as FileFilter
49+
50+
def forgeFiles = forgeDir.listFiles(filter)
51+
def fabricFiles = fabricDir.listFiles(filter)
52+
def commonFiles = commonDir.listFiles(filter)
53+
54+
githubRelease {
55+
token project.findProperty("github") ?: System.getenv("github") ?: ""
56+
owner "WhoCraft"
57+
repo "TardisRefined"
58+
tagName "v$rootProject.minecraft_version-$project.mod_version"
59+
targetCommitish "mc/1.20.1"
60+
releaseName "[$rootProject.minecraft_version] Tardis Refined - v$project.mod_version"
61+
generateReleaseNotes true
62+
body new File("${rootProject.projectDir}/changelog.md").text
63+
draft false
64+
prerelease false
65+
releaseAssets(forgeFiles + fabricFiles + commonFiles)
66+
allowUploadToExisting.set false
67+
overwrite true
68+
dryRun false
69+
apiEndpoint "https://api.github.com"
70+
client
71+
}
72+
73+
4374

4475
allprojects {
4576
apply plugin: "java"
@@ -100,6 +131,7 @@ allprojects {
100131
task publishMeEverywhere(){
101132
dependsOn ':forge:publishUnified'
102133
dependsOn ':fabric:publishUnified'
134+
dependsOn ':githubRelease'
103135
}
104136

105137

changelog.md

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,10 @@
1-
# Version 2.1.1
1+
# Version 2.1.2
22

33
![TARDIS Refined](https://wiki.tardisrefined.net/TARDIS-Refined-Wiki/tardis_refined_v2_1.png)
44

5-
# Apologies
6-
In the previous version, we released a lot and it didn't quite meet the testing required for a release. Resulting in a terrible launch :(
7-
You can find everything from 2.1.0 here: https://wiki.tardisrefined.net/version-2-1-0.html
85

96
#### Bug Fixes
10-
- Bug Fix: Fixed Fuel Alarm going off when the TARDIS isn't fully grown yet
11-
- Bug Fix: Fixed Vortex Overlay not being called on Forge
12-
- Bug Fix: Fixed Vortex & Shell scales on Forge
13-
- Bug Fix: Fixed keys not working as intended
14-
- Bug Fix: Fixed Manipulator crafting not working as intended
7+
- Bug Fix: Tardis will change locations without taking off, just by setting coordinates.[#427](https://github.com/WhoCraft/TardisRefined/issues/427)
8+
- Bug Fix: Using the amethyst screwdriver to interact with the terraformer causes a freeze crash. (v2.1.1) [#426](https://github.com/WhoCraft/TardisRefined/issues/426)
9+
- Bug Fix: Instantaneous Travel [#421](https://github.com/WhoCraft/TardisRefined/issues/421)
1510

16-
### Enhancements
17-
- Updated Factory Console Texture
18-
19-
### Additions
20-
- Added: Skulker Shell (Just for fun <3)
21-
22-
### NOTE
23-
- Old waypoints from pre-2.1.0 may cause issues and default to 0,0,0 - you may need to remake them :( (Trust me it's in the name of progress))

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ forge_valkyrienskies_version_range = [2.3.0-beta.1,)
4040
##Mod Information
4141

4242
#Common Mod Information
43-
mod_version=2.1.1
43+
mod_version=2.1.2
4444
license=https://github.com/Whocraft/TardisRefined/blob/minecraft/1.20/LICENSE.MD
4545
credits=Commoble, Lucraft, starray1000000, Monsterwaill, TheJudge, LoxiGoose
4646
mod_authors=CommandrMoose / River, Jeryn99, Magic Man, ILikePandas, Jacob K, 50ap5ud5

0 commit comments

Comments
 (0)