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: jobs:
build: build:
runs-on: ${{ matrix.os }} runs-on: ubuntu-20.04
strategy:
matrix:
os: [
ubuntu-20.04,
# macos-10.15,
windows-2022
]
fail-fast: false
name: ${{ matrix.os }}
steps: steps:
- name: Git checkout - name: Git checkout
uses: actions/checkout@v2 uses: actions/checkout@v2

View file

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

View file

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