Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ jobs:
java-version: '11'
distribution: 'adopt'
- name: Publish package
run: mvn clean deploy
run: ./bin/mac/deploy.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30 changes: 30 additions & 0 deletions .github/workflows/update-version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Update POM files version

on:
pull_request:
types: [opened, reopened, synchronize]
branches:
- '!workflows'
- master

jobs:
update_version:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Update POM Version
run: |
echo "Updating to version: $(jq -r '.pull_request.milestone.title' $GITHUB_EVENT_PATH)"
mvn versions:set -DnewVersion=$(jq -r '.pull_request.milestone.title' $GITHUB_EVENT_PATH)

- name: Diff check
run: git diff

- name: Add & Commit
uses: EndBug/add-and-commit@v9.1.1
with:
add: '.'
default_author: github_actions
push: origin HEAD:develop --force