2021-07-20 08:23:15 +00:00
name : Create new Release Candidate
on :
workflow_dispatch :
inputs :
number :
description : 'RC number (e.g. 15)'
required : true
release_date :
2021-07-20 08:38:03 +00:00
description : 'Date of release (e.g. 12-apr-2021)'
2021-07-20 08:23:15 +00:00
required : true
jobs :
release :
2021-07-20 08:25:49 +00:00
2021-07-20 08:23:15 +00:00
name : Create new release
runs-on : ubuntu-latest
steps :
- name : Checkout repository
2023-09-30 10:51:46 +00:00
uses : actions/checkout@v4
2021-07-20 08:23:15 +00:00
with :
ref : 'stable'
- name : Merge latest commits into 'stable'
2021-08-30 10:59:31 +00:00
uses : devmasx/merge-branch@1.4.0
2021-07-20 08:23:15 +00:00
with :
type : now
from_branch : 'master'
target_branch : 'stable'
github_token : ${{ secrets.GITHUB_TOKEN }}
- name : Get the latest commit sha
id : latest
run : echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
2021-07-20 08:25:49 +00:00
2021-07-20 08:23:15 +00:00
- name : Create Release
id : create_release
uses : actions/create-release@v1.1.4
env :
GITHUB_TOKEN : ${{ secrets.ACCESS_TOKEN }}
with :
tag_name : RC-${{ github.event.inputs.number }}
release_name : Release Candidate ${{ github.event.inputs.number }} (git ${{ steps.latest.outputs.sha_short }})
draft : false
prerelease : false
body : |
2021-07-20 08:24:52 +00:00
## 💾 Download link
This release candidate of Slimefun4 can be downloaded here :
2024-02-25 17:46:55 +00:00
https://blob.build/project/Slimefun4/RC
2021-07-20 08:23:15 +00:00
2021-07-20 08:24:52 +00:00
### ❓ How to install Slimefun
Simply drag & drop the Slimefun4 jar file into the `/plugins/` directory of your server.
If you need any help installing Slimefun, feel free to check out our wiki article on [How to install Slimefun](https://github.com/Slimefun/Slimefun4/wiki/Installing-Slimefun).
2021-07-20 08:23:15 +00:00
2021-07-20 08:24:52 +00:00
## 📝 Change log
You can find a short summary of all the changes that are included in this release right here :
https://github.com/Slimefun/Slimefun4/blob/master/CHANGELOG.md#release-candidate-${{ github.event.inputs.number }}-${{ github.event.inputs.release_date }}
2021-07-20 08:23:15 +00:00
2021-07-20 08:24:52 +00:00
## 📦 Maven dependency reference
If you want to develop an addon for Slimefun ([Developer Reference](https://github.com/Slimefun/Slimefun4/wiki/Developer-Guide)), then you can build your project against this specific version of Slimefun using the following `pom.xml` dependency :
```xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
2021-07-20 08:23:15 +00:00
2021-07-20 08:24:52 +00:00
<dependencies>
<dependency>
<groupId>com.github.Slimefun</groupId>
<artifactId>Slimefun4</artifactId>
<version>RC-${{ github.event.inputs.number }}</version>
</dependency>
</dependencies>
```