Skip to content

Commit

Permalink
ci: auto update version
Browse files Browse the repository at this point in the history
  • Loading branch information
brenoepics committed May 16, 2024
1 parent 0b8b93c commit 5104af9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 231 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
name: Publish a new Release
on:
workflow_dispatch:
release:
types: [created]
types: [published]

jobs:
# Build job
update-prp:
update-version:
runs-on: ubuntu-latest
permissions:
contents:
Expand All @@ -19,6 +18,7 @@ jobs:
with:
ignoredDirs: |
docs
src
target
env:
currentVersion: ${{ github.event.release.tag_name }}
Expand All @@ -37,6 +37,10 @@ jobs:
java-package: 'jdk'
cache: 'maven'
server-id: ossrh

- name: mvn versions
run: mvn versions:set -DnewVersion=${{ github.event.release.tag_name }}

- name: Import GPG Key
uses: crazy-max/[email protected]
with:
Expand Down
228 changes: 0 additions & 228 deletions pom.prp.xml

This file was deleted.

0 comments on commit 5104af9

Please sign in to comment.