mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-10-31 22:50:50 +01:00
fixed 1.12 maven publish
This commit is contained in:
parent
58a98fb2c3
commit
9a15bee50f
5 changed files with 8 additions and 5 deletions
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
|
@ -20,6 +20,9 @@ pipeline {
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Publish') {
|
stage('Publish') {
|
||||||
|
when {
|
||||||
|
branch '1.12.2'
|
||||||
|
}
|
||||||
steps {
|
steps {
|
||||||
sh './gradlew publish --no-daemon'
|
sh './gradlew publish --no-daemon'
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,4 +5,4 @@ For more information, visit the main CurseForge Page by [clicking here](http://m
|
||||||
Jenkins: [Click here](https://ci.ellpeck.de/blue/organizations/jenkins/ActuallyAdditions/)
|
Jenkins: [Click here](https://ci.ellpeck.de/blue/organizations/jenkins/ActuallyAdditions/)
|
||||||
Maven: [Click here](https://maven.ellpeck.de/de/ellpeck/actuallyadditions/)
|
Maven: [Click here](https://maven.ellpeck.de/de/ellpeck/actuallyadditions/)
|
||||||
|
|
||||||
![](https://raw.githubusercontent.com/Ellpeck/ActuallyAdditions/master/pics/logo.png)
|
![](https://raw.githubusercontent.com/Ellpeck/ActuallyAdditions/main/pics/logo.png)
|
||||||
|
|
|
@ -18,8 +18,8 @@ version = "1.12.2-r151"
|
||||||
group = "de.ellpeck.actuallyadditions"
|
group = "de.ellpeck.actuallyadditions"
|
||||||
archivesBaseName = "ActuallyAdditions"
|
archivesBaseName = "ActuallyAdditions"
|
||||||
|
|
||||||
if(hasProperty('buildnumber')){
|
if (System.getenv('BUILD_NUMBER') != null) {
|
||||||
version = "${version}-${this.properties['buildnumber']}"
|
version += "." + System.getenv('BUILD_NUMBER')
|
||||||
}
|
}
|
||||||
|
|
||||||
minecraft {
|
minecraft {
|
||||||
|
|
|
@ -28,7 +28,7 @@ public class ThreadSpecialFetcher extends Thread {
|
||||||
public void run() {
|
public void run() {
|
||||||
ActuallyAdditions.LOGGER.info("Fetching Special People Stuff...");
|
ActuallyAdditions.LOGGER.info("Fetching Special People Stuff...");
|
||||||
try {
|
try {
|
||||||
URL url = new URL("https://raw.githubusercontent.com/Ellpeck/ActuallyAdditions/master/specialPeopleStuff.properties");
|
URL url = new URL("https://raw.githubusercontent.com/Ellpeck/ActuallyAdditions/main/specialPeopleStuff.properties");
|
||||||
Properties specialProperties = new Properties();
|
Properties specialProperties = new Properties();
|
||||||
specialProperties.load(new InputStreamReader(url.openStream()));
|
specialProperties.load(new InputStreamReader(url.openStream()));
|
||||||
SpecialRenderInit.parse(specialProperties);
|
SpecialRenderInit.parse(specialProperties);
|
||||||
|
|
|
@ -30,7 +30,7 @@ public class ThreadUpdateChecker extends Thread {
|
||||||
public void run() {
|
public void run() {
|
||||||
ActuallyAdditions.LOGGER.info("Starting Update Check...");
|
ActuallyAdditions.LOGGER.info("Starting Update Check...");
|
||||||
try {
|
try {
|
||||||
URL newestURL = new URL("https://raw.githubusercontent.com/Ellpeck/ActuallyAdditions/master/update/updateVersions.properties");
|
URL newestURL = new URL("https://raw.githubusercontent.com/Ellpeck/ActuallyAdditions/main/update/updateVersions.properties");
|
||||||
Properties updateProperties = new Properties();
|
Properties updateProperties = new Properties();
|
||||||
updateProperties.load(new InputStreamReader(newestURL.openStream()));
|
updateProperties.load(new InputStreamReader(newestURL.openStream()));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue