Release changes

This commit is contained in:
Christopher Schnick 2022-10-11 18:36:57 +02:00
parent 7b169a33b3
commit bca63a8495
4 changed files with 17 additions and 23 deletions

View file

@ -4,16 +4,7 @@ on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [
ubuntu-20.04,
# macos-10.15,
windows-2022
]
fail-fast: false
name: ${{ matrix.os }}
runs-on: ubuntu-20.04
steps:
- name: Git checkout
uses: actions/checkout@v2

View file

@ -6,7 +6,7 @@ on:
- master
jobs:
build:
publish:
runs-on: ubuntu-20.04
steps:
- name: Git checkout

View file

@ -25,7 +25,6 @@ jreleaser {
release {
github {
skipRelease = !isFullRelease
skipTag = !isFullRelease
owner = 'xpipe-io'
overwrite = false
@ -35,13 +34,15 @@ jreleaser {
files = true
artifacts = true
checksums = false
checksums = true
signatures = false
changelog {
enabled = true
formatted = 'ALWAYS'
contentTemplate = isFullRelease ? file('misc/github_full.tpl') : file('misc/github_pre.tpl')
if (isFullRelease) {
changelog {
enabled = true
formatted = 'ALWAYS'
contentTemplate = isFullRelease ? file('misc/github_full.tpl') : file('misc/github_pre.tpl')
}
}
}
}
@ -75,11 +76,13 @@ jreleaser {
}
}
announce {
discord {
active = 'RELEASE'
webhook = proj.hasProperty("XPIPE_DISCORD_WEBHOOK") ? proj.property("XPIPE_DISCORD_WEBHOOK") : System.getenv("XPIPE_DISCORD_WEBHOOK")
messageTemplate = isFullRelease ? 'misc/discord_full.tpl' : 'misc/discord_pre.tpl'
if (isFullRelease) {
announce {
discord {
active = 'RELEASE'
webhook = proj.hasProperty("XPIPE_DISCORD_WEBHOOK") ? proj.property("XPIPE_DISCORD_WEBHOOK") : System.getenv("XPIPE_DISCORD_WEBHOOK")
messageTemplate = isFullRelease ? 'misc/discord_full.tpl' : 'misc/discord_pre.tpl'
}
}
}
}

View file

@ -1 +1 @@
0.0.2.0
0.0.2.1-SNAPSHOT