-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to manual release with semver (#636)
* Switch to manual release with semver - Switch to semver versioning supported by dependabot starting with version 4.0.0 to "reset". - New releases are manually published via github releases. https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes * Deleted unused scripts and moved gradle script
- Loading branch information
1 parent
a6c041c
commit 52d886c
Showing
6 changed files
with
30 additions
and
69 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Publish release | ||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
publish-release: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
packages: write | ||
contents: write | ||
steps: | ||
- name: Checkout latest code | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: master | ||
- name: Set up JDK | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: 17 | ||
distribution: temurin | ||
cache: maven | ||
- name: Publish artifact | ||
env: | ||
NEW_VERSION: ${{ github.event.release.tag_name }} | ||
GITHUB_USERNAME: x-access-token | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
mvn -B versions:set -DnewVersion=${NEW_VERSION} | ||
mvn -B clean deploy --batch-mode --settings ./.github/settings.xml -Dmaven.wagon.http.pool=false --file pom.xml |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.