Skip to content

Commit b154bf9

Browse files
committed
Update release.yml
1 parent 9a860e6 commit b154bf9

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Auto Release on Version Bump
22

33
on:
4+
workflow_dispatch:
45
push:
56
branches:
67
- main
@@ -12,18 +13,17 @@ jobs:
1213
build-and-release:
1314
runs-on: ubuntu-latest
1415
permissions:
15-
contents: write # Needed to create a release
16+
contents: write
1617

1718
steps:
1819
- name: Checkout Repository
1920
uses: actions/checkout@v4
2021
with:
21-
fetch-depth: 0 # Required to check existing tags
22+
fetch-depth: 0
2223

2324
- name: Extract Version from plugin.yml
2425
id: extract_version
2526
run: |
26-
# Extrahiert die Version aus der plugin.yml (ignoriert Leerzeichen und Anführungszeichen)
2727
VERSION=$(grep '^version:' src/main/resources/plugin.yml | awk '{print $2}' | tr -d '"'\'' ')
2828
echo "VERSION=$VERSION" >> $GITHUB_ENV
2929
echo "Extracted version: $VERSION"
@@ -65,9 +65,9 @@ jobs:
6565
name: "PlayerStatsRemake v${{ env.VERSION }}"
6666
generate_release_notes: true
6767
body: |
68-
🚀 **PlayerStatsRemake v${{ env.VERSION }}** has been released!
68+
**PlayerStatsRemake v${{ env.VERSION }}** has been released!
6969
70-
### 💻 API Usage (JitPack)
70+
### API Usage (JitPack)
7171
To use this version in your own plugin, add JitPack to your repositories and use the following dependency:
7272
7373
```xml

0 commit comments

Comments
 (0)