Compare commits
No commits in common. "develop" and "release" have entirely different histories.
5 changed files with 23 additions and 48 deletions
|
@ -1,41 +0,0 @@
|
|||
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
Normal file
20
.github/workflows/auto-pull-request.yaml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
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,8 +1,4 @@
|
|||
# devel
|
||||
|
||||
*
|
||||
|
||||
# 3.13.0.0 (2024-02-06)
|
||||
# 3.13.0.0
|
||||
|
||||
Many thanks to @xyzminecraftserver for sponsoring the project!
|
||||
|
||||
|
|
|
@ -3,5 +3,5 @@ MAJOR=3
|
|||
MINOR=13
|
||||
PATCH=0
|
||||
PRE_RELEASE=
|
||||
BUILD=0
|
||||
BUILD=-1
|
||||
CODE=1
|
||||
|
|
Loading…
Reference in a new issue