diff --git a/.build/bump-to-next-version.sh b/.build/bump-to-next-version.sh
deleted file mode 100755
index 0b7b584e8..000000000
--- a/.build/bump-to-next-version.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/bash
-
-SNAPSHOT="${NEXT_VERSION}-SNAPSHOT"
-
-echo "Bumping version to ${SNAPSHOT}"
-
-./mvnw --settings .build/maven-ci-settings.xml \
- --batch-mode --no-transfer-progress \
- versions:set -DnewVersion=${SNAPSHOT} -DgenerateBackupPoms=false
-
-./mvnw --settings .build/maven-ci-settings.xml \
- --batch-mode --no-transfer-progress \
- versions:set -DnewVersion=${SNAPSHOT} -DgenerateBackupPoms=false \
- -pl bom
diff --git a/.build/bump-to-release-version.sh b/.build/bump-to-release-version.sh
deleted file mode 100755
index 3bfc4bd9c..000000000
--- a/.build/bump-to-release-version.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/bash
-
-echo "Bumping version to ${RELEASE_VERSION}"
-
-./mvnw --settings .build/maven-ci-settings.xml \
- --batch-mode --no-transfer-progress \
- versions:set -DnewVersion=${RELEASE_VERSION} -DgenerateBackupPoms=false
-
-./mvnw --settings .build/maven-ci-settings.xml \
- --batch-mode --no-transfer-progress \
- versions:set -DnewVersion=${RELEASE_VERSION} -DgenerateBackupPoms=false \
- -pl bom
-
-echo "Update website version to ${RELEASE_VERSION}"
-
-source ~/.sdkman/bin/sdkman-init.sh
-.build/UpdateDocsAttributesFiles.java --mutiny-version=${RELEASE_VERSION}
diff --git a/.build/clear-revapi-justifications.sh b/.build/clear-revapi-justifications.sh
deleted file mode 100755
index ee443e8d6..000000000
--- a/.build/clear-revapi-justifications.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/bash
-
-echo "Clearing difference justifications"
-
-source ~/.sdkman/bin/sdkman-init.sh
-jbang .build/CompatibilityUtils.java clear --version="${RELEASE_VERSION}" --do-not-clear-version-prefix="1."
-
-if [[ $(git diff --stat) != '' ]]; then
- git add -A
- git status
- git commit -m "Clearing breaking change justifications"
- git push
-else
- echo "No justifications cleared"
-fi
diff --git a/.build/deploy-snapshot.sh b/.build/deploy-snapshot.sh
index 18fa60323..dfe6797c8 100755
--- a/.build/deploy-snapshot.sh
+++ b/.build/deploy-snapshot.sh
@@ -17,5 +17,5 @@ init_gpg
git fetch origin --tags
git reset --hard
git checkout main
-./mvnw -B clean deploy -DskipTests -Prelease -s maven-settings.xml
+./mvnw --no-transfer-progress -B clean deploy -DskipTests -Prelease -s maven-settings.xml
diff --git a/.build/justfile-for-release b/.build/justfile-for-release
new file mode 100644
index 000000000..a275762ee
--- /dev/null
+++ b/.build/justfile-for-release
@@ -0,0 +1,81 @@
+# Should be run as:
+# just -f .build/justfile-for-release -d . (...)
+
+# Just echo the purpose of this file
+purpose:
+ @echo "This file is used to automate some release tasks"
+ @echo "(running in `pwd`)"
+
+# Perform a release
+perform-release: pre-release release post-release
+ @echo "🎉 Successfully released Mutiny ${RELEASE_VERSION} 🚀"
+
+# Decrypt secrets
+decrypt-secrets:
+ @echo "Decrypting smallrye signature"
+ gpg --quiet --batch --yes --decrypt --passphrase="${SECRET_FILES_PASSPHRASE}" \
+ --output smallrye-sign.asc .build/smallrye-sign.asc.gpg
+ @echo "Decrypting Maven settings"
+ gpg --quiet --batch --yes --decrypt --passphrase="${SECRET_FILES_PASSPHRASE}" \
+ --output maven-settings.xml .build/maven-settings.xml.gpg
+
+# Initialize GnuPG
+init-gpg:
+ @echo "GnuPG setup"
+ gpg --fast-import --no-tty --batch --yes smallrye-sign.asc
+
+# Initialize Git
+init-git:
+ @echo "Git setup"
+ git config --global user.name "${GITHUB_ACTOR}"
+ git config --global user.email "smallrye@googlegroups.com"
+
+# Steps before releasing
+pre-release: decrypt-secrets init-gpg init-git
+ @echo "🚀 Pre-release steps..."
+ @echo "Pre-release verifications"
+ jbang .build/PreRelease.java --token=${RELEASE_TOKEN} --release-version=${RELEASE_VERSION}
+ @echo "Bump project version to ${RELEASE_VERSION}"
+ ./mvnw --settings .build/maven-ci-settings.xml --batch-mode --no-transfer-progress versions:set -DnewVersion=${RELEASE_VERSION} -DgenerateBackupPoms=false
+ ./mvnw --settings .build/maven-ci-settings.xml --batch-mode --no-transfer-progress versions:set -DnewVersion=${RELEASE_VERSION} -DgenerateBackupPoms=false -pl bom
+ jbang .build/UpdateDocsAttributesFiles.java --mutiny-version=${VERSION}
+ .build/update-workshop-target-version.sh "${VERSION}"
+ @echo "Check that the project builds (no tests)"
+ ./mvnw --settings maven-settings.xml --batch-mode --no-transfer-progress clean install -Prelease -DskipTests
+ @echo "Check that the website builds"
+ [[ ${DEPLOY_WEBSITE} == "true" ]] && cd documentation && pipenv run mkdocs build
+
+# Steps to release
+release: pre-release
+ @echo "🚀 Release steps..."
+ @echo "Commit release version and push upstream"
+ git commit -am "chore(release): release Mutiny ${RELEASE_VERSION}"
+ git push
+ @echo "Call JReleaser"
+ ./mvnw -settings .build/maven-ci-settings.xml --batch-mode --no-transfer-progress -Pjreleaser jreleaser:full-release -pl :mutiny-project
+ @echo "Deploy to Maven Central"
+ ./mvnw --settings maven-settings.xml --batch-mode --no-transfer-progress deploy -Prelease -DskipTests
+ @echo "Bump to 999-SNAPSHOT and push upstream"
+ ./mvnw --settings .build/maven-ci-settings.xml --batch-mode --no-transfer-progress versions:set -DnewVersion=999-SNAPSHOT -DgenerateBackupPoms=false
+ ./mvnw --settings .build/maven-ci-settings.xml --batch-mode --no-transfer-progress versions:set -DnewVersion=999-SNAPSHOT -DgenerateBackupPoms=false -pl bom
+ git commit -am "chore(release): set development version to 999-SNAPSHOT"
+ git push
+
+# Steps post-release
+post-release:
+ @echo "🚀 Post-release steps..."
+ [[ ${CLEAR_REVAPI} == "true" ]] && just -f .build/justfile-for-release -d . clear-revapi
+ [[ ${DEPLOY_WEBSITE} == "true" ]] && .build/deploy-site.sh
+
+# Clear RevAPI justifications
+clear-revapi:
+ #!/usr/bin/env bash
+ jbang .build/CompatibilityUtils.java clear --version="${RELEASE_VERSION}" --do-not-clear-version-prefix="1."
+ if [[ $(git diff --stat) != '' ]]; then
+ git add -A
+ git status
+ git commit -m "chore(release): clear RevAPI breaking change justifications"
+ git push
+ else
+ echo "No justifications cleared"
+ fi
diff --git a/.build/release-with-jreleaser.sh b/.build/release-with-jreleaser.sh
deleted file mode 100755
index 1692ca17d..000000000
--- a/.build/release-with-jreleaser.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/bash
-
-echo "📦 Staging artifacts..."
-
-./mvnw --settings .build/maven-ci-settings.xml \
- --batch-mode --no-transfer-progress \
- -Pjreleaser-staging \
- -DskipTests=true -Drevapi.skip=true
-
-echo "🚀 Releasing..."
-
-./mvnw --settings .build/maven-ci-settings.xml \
- --batch-mode --no-transfer-progress \
- -pl :mutiny-project -Pjreleaser-release \
- jreleaser:full-release -DskipTests=true -Drevapi.skip=true
-
-echo "🎉 Done!"
\ No newline at end of file
diff --git a/.build/setup-git.sh b/.build/setup-git.sh
deleted file mode 100755
index d9393b91c..000000000
--- a/.build/setup-git.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/bash
-
-git config --global user.name "smallrye[bot]"
-git config --global user.email "smallrye@googlegroups.com"
diff --git a/.build/setup-jbang.sh b/.build/setup-jbang.sh
deleted file mode 100755
index 78bd8e5b7..000000000
--- a/.build/setup-jbang.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/bash
-
-curl -s "https://get.sdkman.io" | bash
-source ~/.sdkman/bin/sdkman-init.sh && sdk install jbang && echo "👍"
diff --git a/.github/workflows/build-1.x.yml b/.github/workflows/build-1.x.yml
index 98fd80828..66bd19776 100644
--- a/.github/workflows/build-1.x.yml
+++ b/.github/workflows/build-1.x.yml
@@ -22,5 +22,5 @@ jobs:
java-version: 8
cache: maven
- name: Build with Maven
- run: ./mvnw -s .build/maven-ci-settings.xml -B clean verify
+ run: ./mvnw --no-transfer-progress -s .build/maven-ci-settings.xml -B clean verify
diff --git a/.github/workflows/build-main.yml b/.github/workflows/build-main.yml
index 7ab68940b..e8396bd83 100644
--- a/.github/workflows/build-main.yml
+++ b/.github/workflows/build-main.yml
@@ -21,7 +21,7 @@ jobs:
distribution: temurin
cache: maven
- name: Build with Maven
- run: ./mvnw -s .build/maven-ci-settings.xml -B clean verify
+ run: ./mvnw --no-transfer-progress -s .build/maven-ci-settings.xml -B clean verify
- name: Deploy snapshots
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.github/workflows/build-pull-1.x.yml b/.github/workflows/build-pull-1.x.yml
index f426182ff..8b3367fff 100644
--- a/.github/workflows/build-pull-1.x.yml
+++ b/.github/workflows/build-pull-1.x.yml
@@ -14,8 +14,8 @@ jobs:
runs-on: ubuntu-20.04
name: Build with Java 8
steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-java@v2
+ - uses: actions/checkout@v3
+ - uses: actions/setup-java@v3
name: set up jdk 8
with:
distribution: temurin
@@ -24,16 +24,7 @@ jobs:
- name: Build with Maven
env:
MAVEN_OPTS: ${{ matrix.java.opts }}
- run: ./mvnw -s .build/maven-ci-settings.xml -B clean verify
- compatibility:
- runs-on: ubuntu-20.04
- name: Compatibility Check
- steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-java@v2
- with:
- java-version: 8
- distribution: temurin
- cache: maven
+ run: ./mvnw --no-transfer-progress -s .build/maven-ci-settings.xml -B clean verify
- name: Compatibility Check
- run: ./mvnw -s .build/maven-ci-settings.xml -pl '!bom' -B install revapi:check@check-compatibility -DskipTests -fae
+ run: ./mvnw --no-transfer-progress -s .build/maven-ci-settings.xml -pl '!bom' -B install revapi:check@check-compatibility -DskipTests -fae
+
diff --git a/.github/workflows/build-pull.yml b/.github/workflows/build-pull.yml
index de33f0fc5..f7a2efcf9 100644
--- a/.github/workflows/build-pull.yml
+++ b/.github/workflows/build-pull.yml
@@ -31,7 +31,7 @@ jobs:
- name: Build with Maven
env:
MAVEN_OPTS: ${{ matrix.java.opts }}
- run: ./mvnw -s .build/maven-ci-settings.xml -B clean verify -Pcoverage
+ run: ./mvnw --no-transfer-progress -s .build/maven-ci-settings.xml -B clean verify -Pcoverage
- name: Codecov
uses: codecov/codecov-action@v1.0.13
@@ -53,4 +53,4 @@ jobs:
distribution: temurin
cache: maven
- name: Compatibility Check
- run: ./mvnw -s .build/maven-ci-settings.xml -pl '!bom' -B install revapi:check@check-compatibility -DskipTests -fae
+ run: ./mvnw --no-transfer-progress -s .build/maven-ci-settings.xml -pl '!bom' -B install revapi:check@check-compatibility -DskipTests -fae
diff --git a/.github/workflows/deploy-release.yml b/.github/workflows/deploy-release.yml
deleted file mode 100644
index 6ee6fb765..000000000
--- a/.github/workflows/deploy-release.yml
+++ /dev/null
@@ -1,39 +0,0 @@
----
-name: Deploy releases to Maven Central
-on:
- push:
- branches:
- - "!*"
- tags:
- - '[0-9]+.[0-9]+.[0-9]+*'
-
-jobs:
- perform-release:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- with:
- ref: ${{ github.event.ref }}
- token: ${{ secrets.RELEASE_TOKEN }}
- - name: Install JDK 11
- uses: actions/setup-java@v2
- with:
- java-version: 11
- distribution: temurin
- cache: maven
- - name: 'Deploy'
- env:
- GITHUB_CONTEXT: ${{ toJson(github) }}
- GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
- REF: ${{ github.event.ref }}
- SECRET_FILES_PASSPHRASE: ${{ secrets.SECRET_FILES_PASSPHRASE }}
- run: |
-
- echo "Cutting release from ${REF}"
-
- sudo apt-get update -o Dir::Etc::sourcelist="sources.list" \
- -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0"
- sudo apt-get install -y gnupg2 gnupg-agent
-
- sh .build/decrypt-secrets.sh
- sh .build/deploy-release.sh
diff --git a/.github/workflows/deploy-site.yml b/.github/workflows/deploy-site.yml
index a2cda9939..d4f1261e3 100644
--- a/.github/workflows/deploy-site.yml
+++ b/.github/workflows/deploy-site.yml
@@ -12,10 +12,12 @@ jobs:
ref: ${{ github.event.ref }}
token: ${{ secrets.RELEASE_TOKEN }}
fetch-depth: 0 # fetch all commits and branches for mike to work properly
- - name: Git setup
- run: .build/setup-git.sh
- name: Setup yq (portable yaml processor)
uses: mikefarah/yq@master
+ - name: Install just
+ uses: taiki-e/install-action@just
+ - name: Setup Git
+ run: just -f .build/justfile-for-release -d . init-git
- name: Setup Python
uses: actions/setup-python@v4
with:
diff --git a/.github/workflows/post-release.yml b/.github/workflows/post-release.yml
deleted file mode 100644
index 014ac0916..000000000
--- a/.github/workflows/post-release.yml
+++ /dev/null
@@ -1,79 +0,0 @@
----
-name: Post release work
-on:
- push:
- branches:
- - "!*"
- tags:
- - '[0-9]+.[0-9]+.[0-9]+*'
-
-jobs:
- post-release:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- with:
- ref: ${{ github.event.ref }}
- token: ${{ secrets.RELEASE_TOKEN }}
- - name: Install JDK 11
- uses: actions/setup-java@v2
- with:
- java-version: 11
- distribution: temurin
- cache: maven
- - name: 'Run a quick local build'
- run: ./mvnw -s .build/maven-ci-settings.xml clean install -DskipTests
- - name: 'Collect Compatibility Justification'
- env:
- GITHUB_CONTEXT: ${{ toJson(github) }}
- GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
- SECRET_FILES_PASSPHRASE: ${{ secrets.SECRET_FILES_PASSPHRASE }}
- run: |
- sudo apt-get update -o Dir::Etc::sourcelist="sources.list" \
- -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0"
- sudo apt-get install -y gnupg2 gnupg-agent
-
- curl -s "https://get.sdkman.io" | bash
- source ~/.sdkman/bin/sdkman-init.sh && sdk install jbang
-
- mkdir -p target
- jbang .build/CompatibilityUtils.java extract
- - name: 'Post-Release Tasks'
- env:
- GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
- REF: ${{ github.event.ref }}
- run: |
- TAG=$(echo ${REF} | sed -e 's%refs/tags/%%g')
- source ~/.sdkman/bin/sdkman-init.sh && \
- jbang .build/PostRelease.java --release-version=${TAG} --token=${GITHUB_TOKEN}
- - name: 'Clear compatibility justifications'
- env:
- GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
- REF: ${{ github.event.ref }}
- run: |
- source ~/.sdkman/bin/sdkman-init.sh
-
- git config --global user.name "${GITHUB_ACTOR}"
- git config --global user.email "smallrye@googlegroups.com"
-
- TAG=$(echo ${REF} | sed -e 's%refs/tags/%%g')
- echo "Waiting for artifacts to be available from Maven Central, otherwise the build will fail during the compatibility verification"
- echo "Version ${TAG}"
- ARTIFACTS=$(./mvnw -s .build/maven-ci-settings.xml -Dexec.executable='echo' -Dexec.args='${project.groupId}:${project.artifactId}' exec:exec -q | tr '\n' ',')
- echo "Artifacts: ${ARTIFACTS}"
- jbang .build/WaitForCentral.java \
- --artifacts=$ARTIFACTS \
- --expected-version="${TAG}"
-
- git clone -b main "https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/smallrye/smallrye-mutiny.git" new-main
- cd new-main
- echo "Clearing difference justifications"
- jbang .build/CompatibilityUtils.java clear --version="${TAG}" --do-not-clear-version-prefix="1."
- if [[ $(git diff --stat) != '' ]]; then
- git add -A
- git status
- git commit -m "[POST-RELEASE] - Clearing breaking change justifications"
- git push origin main
- else
- echo "No justifications cleared"
- fi
diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml
deleted file mode 100644
index 6ef4afe53..000000000
--- a/.github/workflows/prepare-release.yml
+++ /dev/null
@@ -1,60 +0,0 @@
----
-name: Trigger a release
-on:
- workflow_dispatch:
- inputs:
- micro:
- description: 'Is it a micro release (used to compute release version)'
- required: false
- default: false
- release-version:
- description: 'The release version, if not set it computes the version automatically'
- required: false
- skip-tests:
- description: 'Whether to skip the tests before pushing the tag'
- required: false
- default: true
- branch:
- description: 'The branch from which the release is cut'
- required: false
- default: 'main'
- dry-run:
- description: 'Skip Git push'
- required: false
- default: false
-
-jobs:
- prepare-release:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- with:
- ref: ${{ github.event.inputs.branch }}
- token: ${{ secrets.RELEASE_TOKEN }}
- - name: Install JDK 11
- uses: actions/setup-java@v2
- with:
- java-version: 11
- distribution: temurin
- cache: maven
- - name: 'Prepare'
- env:
- GITHUB_CONTEXT: ${{ toJson(github) }}
- GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
- SECRET_FILES_PASSPHRASE: ${{ secrets.SECRET_FILES_PASSPHRASE }}
- MICRO_RELEASE: ${{ github.event.inputs.micro }}
- RELEASE_VERSION: ${{ github.event.inputs.release-version }}
- SKIP_TESTS: ${{ github.event.inputs.skip-tests }}
- DRY_RUN: ${{ github.event.inputs.dry-run }}
- run: |
-
- sudo apt-get update -o Dir::Etc::sourcelist="sources.list" \
- -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0"
- sudo apt-get install -y gnupg2 gnupg-agent
-
- curl -s "https://get.sdkman.io" | bash
- source ~/.sdkman/bin/sdkman-init.sh && \
- sdk install jbang
-
- sh .build/decrypt-secrets.sh
- .build/cut-release.sh
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 1a3b43466..2293d8a87 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -9,48 +9,43 @@ on:
version:
description: 'Release version'
required: true
- nextVersion:
- description: 'Next version after release (-SNAPSHOT will be added automatically)'
- required: true
deployWebsite:
description: 'Shall we deploy the website?'
required: true
- default: true
+ default: 'true'
clearRevAPI:
description: 'Shall we clear RevAPI justifications?'
required: true
- default: true
+ default: 'true'
jobs:
release:
runs-on: ubuntu-latest
- permissions: write-all
env:
+ RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }}
+ SECRET_FILES_PASSPHRASE: ${{ secrets.SECRET_FILES_PASSPHRASE }}
PREVIOUS_VERSION: ${{ github.event.inputs.previousVersion }}
- RELEASE_VERSION: ${{ github.event.inputs.version }}
- NEXT_VERSION: ${{ github.event.inputs.nextVersion }}
- defaults:
- run:
- shell: bash
+ RELEASE_VERSION: ${{ github.event.inputs.version }}
+ DEPLOY_WEBSITE: ${{ github.event.inputs.deployWebsite }}
+ CLEAR_REVAPI: ${{ github.event.inputs.clearRevAPI }}
+ JRELEASER_TAG_NAME: ${{ github.event.inputs.version }}
+ JRELEASER_GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
steps:
- # Setup steps
- name: Git checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.RELEASE_TOKEN }}
- - name: Git setup
- run: .build/setup-git.sh
- name: Java setup
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: maven
- - name: JBang setup
- run: .build/setup-jbang.sh
- - name: Setup yq
+ - name: Install just
+ uses: taiki-e/install-action@just
+ - name: Install yq
uses: mikefarah/yq@master
- name: Setup Python
if: ${{ github.event.inputs.deployWebsite == 'true' }}
@@ -60,42 +55,8 @@ jobs:
- name: Install MkDocs dependencies
if: ${{ github.event.inputs.deployWebsite == 'true' }}
run: .build/install-mkdocs-deps.sh
-
- # Preparation steps
- - name: Run pre-release checks
- run: source ~/.sdkman/bin/sdkman-init.sh && jbang .build/PreRelease.java --token=${{ secrets.RELEASE_TOKEN }} --release-version=${{ github.event.inputs.version }}
- - name: Bump to the release version
- run: .build/bump-to-release-version.sh
- - name: Check that the project builds (no tests)
- run: ./mvnw --settings .build/maven-ci-settings.xml --batch-mode --no-transfer-progress clean install -DskipTests
- - name: Check that the website builds
- if: ${{ github.event.inputs.deployWebsite == 'true' }}
- working-directory: documentation
- run: pipenv run mkdocs build
- - name: Commit release version (no push)
- run: git commit -am "Release ${{ github.event.inputs.version }}"
-
- # Release steps
- - name: Release with JReleaser
- env:
- JRELEASER_TAG_NAME: ${{ github.event.inputs.version }}
- JRELEASER_PREVIOUS_TAG_NAME: ${{ github.event.inputs.previousVersion }}
- JRELEASER_GPG_PUBLIC_KEY: ${{ secrets.GPG_PUBLIC_KEY }}
- JRELEASER_GPG_SECRET_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
- JRELEASER_GPG_PASSPHRASE: ${{ secrets.SECRET_PASSPHRASE }}
- JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- JRELEASER_NEXUS2_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
- JRELEASER_NEXUS2_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
- run: .build/release-with-jreleaser.sh
- - name: Bump to the next development version
- run: .build/bump-to-next-version.sh
- - name: Commit the next version and push
- run: git commit -am "Move to ${{ github.event.inputs.nextVersion }}-SNAPSHOT" && git push
-
- # Final steps
- - name: Clear RevAPI justifications (+ commit / push)
- if: ${{ github.event.inputs.clearRevAPI == 'true' }}
- run: .build/clear-revapi-justifications.sh
- - name: Deploy the website
- if: ${{ github.event.inputs.deployWebsite == 'true' }}
- run: .build/deploy-site.sh
\ No newline at end of file
+ - name: Perform the release steps
+ run: |
+ curl -s "https://get.sdkman.io" | bash
+ source ~/.sdkman/bin/sdkman-init.sh && sdk install jbang
+ just -f .build/justfile-for-release -d . perform-release
diff --git a/pom.xml b/pom.xml
index a64d2a2c2..58d232168 100644
--- a/pom.xml
+++ b/pom.xml
@@ -117,6 +117,7 @@
1.2.3
1.1.0
+ 1.8.0
@@ -518,5 +519,45 @@
+
+
+ jreleaser
+
+
+
+ org.jreleaser
+ jreleaser-maven-plugin
+ ${jreleaser-maven-plugin.version}
+ false
+
+ SEMVER
+
+
+
+ smallrye
+ smallrye-mutiny
+ true
+
+ conventional-commits
+ true
+ ALWAYS
+
+
+ GitHub
+ dependabot[bot]
+ bot
+ jreleaserbot
+
+
+
+
+
+
+
+
+
+
+
+