Compare commits
3 commits
Author | SHA1 | Date | |
---|---|---|---|
f7e253b79e | |||
efad1a3d09 | |||
4316ff6c73 |
5 changed files with 48 additions and 23 deletions
41
.forgejo/workflows/create-release.yaml
Normal file
41
.forgejo/workflows/create-release.yaml
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
name: Create release on tag push
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- 'release/*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Create release
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout source code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup Gradle
|
||||||
|
uses: gradle/gradle-build-action@v3
|
||||||
|
|
||||||
|
- name: Run build with Gradle Wrapper
|
||||||
|
run: chmod +x ./gradlew && ./gradlew build
|
||||||
|
|
||||||
|
- name: Get release body
|
||||||
|
run: |
|
||||||
|
echo "release_body=$(cat CHANGELOG.md)" >> "$GITHUB_ENV"
|
||||||
|
|
||||||
|
- name: Setup Go
|
||||||
|
uses: actions/setup-go@v4
|
||||||
|
with:
|
||||||
|
go-version: '>=1.20.1'
|
||||||
|
|
||||||
|
- name: Draft release
|
||||||
|
uses: https://gitea.com/actions/release-action@main
|
||||||
|
with:
|
||||||
|
body: ${{ env.release_body }}
|
||||||
|
files: |-
|
||||||
|
build/libs/the_vault-tweaks-1.18.2-*.jar
|
||||||
|
draft: true
|
||||||
|
api_key: '${{ secrets.RELEASE_TOKEN }}'
|
20
.github/workflows/auto-pull-request.yaml
vendored
20
.github/workflows/auto-pull-request.yaml
vendored
|
@ -1,20 +0,0 @@
|
||||||
name: Pull Request on Branch Push
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches-ignore:
|
|
||||||
- develop
|
|
||||||
- release
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
auto-pull-request:
|
|
||||||
name: Open pull request
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: pull-request-action
|
|
||||||
uses: vsoch/pull-request-action@1.1.0
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
PULL_REQUEST_BRANCH: "develop"
|
|
||||||
PULL_REQUEST_DRAFT: true
|
|
||||||
PASS_IF_EXISTS: true
|
|
|
@ -1,4 +1,8 @@
|
||||||
# 3.13.0.0
|
# devel
|
||||||
|
|
||||||
|
*
|
||||||
|
|
||||||
|
# 3.13.0.0 (2024-02-06)
|
||||||
|
|
||||||
Many thanks to @xyzminecraftserver for sponsoring the project!
|
Many thanks to @xyzminecraftserver for sponsoring the project!
|
||||||
|
|
||||||
|
|
|
@ -3,5 +3,5 @@ MAJOR=3
|
||||||
MINOR=13
|
MINOR=13
|
||||||
PATCH=0
|
PATCH=0
|
||||||
PRE_RELEASE=
|
PRE_RELEASE=
|
||||||
BUILD=-1
|
BUILD=0
|
||||||
CODE=1
|
CODE=1
|
||||||
|
|
Loading…
Reference in a new issue