some master->main related fixes

This commit is contained in:
Ell 2020-11-07 14:32:06 +01:00
parent 8e3c44ee0f
commit 35a2a97e00
4 changed files with 4 additions and 4 deletions

2
Jenkinsfile vendored
View file

@ -21,7 +21,7 @@ pipeline {
stage('Publish') { stage('Publish') {
when { when {
branch 'master' branch 'main'
} }
steps { steps {
sh './gradlew publish --no-daemon' sh './gradlew publish --no-daemon'

View file

@ -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)

View file

@ -18,7 +18,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);

View file

@ -20,7 +20,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()));