Skip to content

Commit 1a5c381

Browse files
author
VikoMin
committed
Test
1 parent 5af4d88 commit 1a5c381

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.github/workflows/gradle.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,16 @@ jobs:
2727
with:
2828
name: ${{ github.event.repository.name }}
2929
path: build/libs/${{ github.event.repository.name }}.jar
30+
31+
- name: Create Release on GitHub
32+
id: create_release
33+
uses: softprops/action-gh-release@v1
34+
with:
35+
tag_name: "v${{ github.run_number }}"
36+
name: "Release v${{ github.run_number }}"
37+
body: "Automated release of version v${{ github.run_number }}."
38+
draft: false
39+
prerelease: false
40+
files: build/libs/*.jar
41+
env:
42+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

src/main/smp/database/DatabaseSystem.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public static void initDatabase(){
5050
Core.app.exit();
5151
}
5252

53-
db = mongoClient.getDatabase("mindustry").withCodecRegistry(pojoCodecRegistry);
53+
db = mongoClient.getDatabase("frostheaven").withCodecRegistry(pojoCodecRegistry);
5454
playerCollection = db.getCollection("players", PlayerData.class);
5555
rankCollection = db.getCollection("ranks", Rank.class);
5656
}

0 commit comments

Comments
 (0)