Skip to content

Commit 309a645

Browse files
authored
Merge pull request #59 from OneLiteFeatherNET/develop
Release 1.3.0
2 parents d0a0e95 + 864f063 commit 309a645

File tree

18 files changed

+229
-303
lines changed

18 files changed

+229
-303
lines changed

.github/renovate.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,7 @@
77
"ignoreDeps": [],
88
"labels": ["Renovate"],
99
"rebaseWhen": "conflicted",
10-
"schedule": ["on the first day of the month"]
10+
"schedule": ["on the first day of the month"],
11+
"baseBranches": ["develop"],
12+
"assigneesFromCodeOwners": true
1113
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Announce release on discord
2+
on:
3+
release:
4+
types: [ published ]
5+
jobs:
6+
send_announcement:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Send custom message with args
10+
env:
11+
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
12+
DISCORD_USERNAME: Attollo Release
13+
DISCORD_AVATAR: https://raw.githubusercontent.com/OneLiteFeatherNET/Attollo/master/.github/assets/Atollo.png
14+
uses: Ilshidur/action-discord@0.3.2
15+
with:
16+
args: |
17+
"<@&1102542159447601212>"
18+
""
19+
"<:attollo:1102543562727501845> **Attollo ${{ github.event.release.tag_name }} has been released!**"
20+
""
21+
"Click here to view changelog: https://github.com/OneLiteFeatherNET/Attollo/releases/tag/${{ github.event.release.tag_name }}"
22+
""
23+
"The download is available at:"
24+
"- Hangar: <https://hangar.papermc.io/OneLiteFeather/Attollo/versions/${{ github.event.release.tag_name }}/>"
25+
"- Modrinth: <https://modrinth.com/plugin/attollo/version/${{ github.event.release.tag_name }}/>"

.github/workflows/build-pr.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
name: Build PR
1+
name: Build Pull Request
22
on: [pull_request]
33
jobs:
44
build_pr:
5+
name: Check PR if can build
56
if: github.repository_owner == 'OneLiteFeatherNET'
67
runs-on: ${{ matrix.os }}
78
strategy:
@@ -18,4 +19,4 @@ jobs:
1819
distribution: temurin
1920
java-version: 17
2021
- name: Build on ${{ matrix.os }}
21-
run: ./gradlew clean build
22+
run: ./gradlew clean build -x test

.github/workflows/build.yml

Lines changed: 0 additions & 67 deletions
This file was deleted.

.github/workflows/close_invalid_prs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Close invalid PRs
1+
name: Close invalid Pull Requests
22

33
on:
44
pull_request_target:

.github/workflows/publish.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Publish Attollo to platforms
2+
on:
3+
push:
4+
branches:
5+
- master
6+
- develop
7+
jobs:
8+
Publish:
9+
name: 'Publish to EldoNexus, Modrinth and Hangar'
10+
# Run on all label events (won't be duplicated) or all push events or on PR syncs not from the same repo
11+
if: github.repository_owner == 'OneLiteFeatherNET'
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout Repository
15+
uses: actions/checkout@v4
16+
- name: Validate Gradle Wrapper
17+
uses: gradle/wrapper-validation-action@v3
18+
- name: Setup Java
19+
uses: actions/setup-java@v4
20+
with:
21+
distribution: temurin
22+
cache: gradle
23+
java-version: 17
24+
- name: Publish to Jar
25+
run: ./gradlew build publishAllPublicationsToHangar modrinth publish -x test
26+
env:
27+
ELDO_USERNAME: "${{ secrets.ELDO_USERNAME }}"
28+
ELDO_PASSWORD: "${{ secrets.ELDO_PASSWORD }}"
29+
HANGAR_SECRET: ${{secrets.HANGAR_KEY}}
30+
MODRINTH_TOKEN: ${{ secrets.MODRINTH_KEY }}

.github/workflows/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: draft release
1+
name: Draft release
22
on:
33
push:
44
branches:

CHANGELOG.md

Lines changed: 0 additions & 58 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ Discord: https://discord.onelitefeather.net
1919

2020
## Permissions
2121
- `attollo.use` - Allows the player to use the elevator
22-
- `attollo.command.attollo` - Creates a debug paste for bug tickets
23-
24-
## Commands
25-
- `attollo debugpaste` - Creates a debug paste for bug tickets
2622

2723
## Configuration
2824
```yaml

build-logic/build.gradle.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
plugins {
2+
`kotlin-dsl`
3+
}
4+
5+
repositories {
6+
gradlePluginPortal()
7+
}

0 commit comments

Comments
 (0)