Browse Source

some master->main related fixes

main
Ellpeck 2 years ago
parent
commit
35a2a97e00
  1. 2
      Jenkinsfile
  2. 2
      README.md
  3. 2
      src/main/java/de/ellpeck/actuallyadditions/common/misc/special/ThreadSpecialFetcher.java
  4. 2
      src/main/java/de/ellpeck/actuallyadditions/common/update/ThreadUpdateChecker.java

2
Jenkinsfile vendored

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

2
README.md

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

2
src/main/java/de/ellpeck/actuallyadditions/common/misc/special/ThreadSpecialFetcher.java

@ -18,7 +18,7 @@ public class ThreadSpecialFetcher extends Thread {
public void run() {
ActuallyAdditions.LOGGER.info("Fetching Special People Stuff...");
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();
specialProperties.load(new InputStreamReader(url.openStream()));
SpecialRenderInit.parse(specialProperties);

2
src/main/java/de/ellpeck/actuallyadditions/common/update/ThreadUpdateChecker.java

@ -20,7 +20,7 @@ public class ThreadUpdateChecker extends Thread {
public void run() {
ActuallyAdditions.LOGGER.info("Starting Update Check...");
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();
updateProperties.load(new InputStreamReader(newestURL.openStream()));

Loading…
Cancel
Save