-
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.
Merge pull request #101 from assimbly/develop
Release 4.0.0
- Loading branch information
Showing
269 changed files
with
12,677 additions
and
1,220 deletions.
There are no files selected for viewing
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
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,49 @@ | ||
name: Manual Version Update | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
BRANCH: | ||
required: true | ||
default: 'develop' | ||
type: choice | ||
options: | ||
- develop | ||
- master | ||
VERSION: | ||
description: '4.0.0' | ||
required: true | ||
default: '4.0.0' | ||
|
||
push: | ||
branches: | ||
- 'update-development-version' | ||
|
||
jobs: | ||
update_version: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
||
- name: Checkout the code | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: 'develop' | ||
|
||
- name: Update POM Version | ||
env: | ||
VERSION: '4.0.0-SNAPSHOT' | ||
run: | | ||
echo "Updating to version: $VERSION" | ||
mvn versions:set -DnewVersion=$VERSION | ||
mvn versions:set-property -Dproperty=assimbly.version -DnewVersion=$VERSION | ||
- 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 |
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
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,60 @@ | ||
name: Publish packages to GitHub Packages | ||
|
||
on: | ||
release: | ||
types: [ released ] | ||
push: | ||
branches: | ||
- 'release-publish' | ||
|
||
|
||
jobs: | ||
update_version: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
||
- name: Checkout the code | ||
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) | ||
mvn versions:set-property -Dproperty=assimbly.version -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 | ||
|
||
publish_packages: | ||
needs: [update_version] | ||
|
||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
packages: write | ||
|
||
steps: | ||
|
||
- name: Checkout the code | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: 'master' | ||
|
||
- name: Setup JDK 11 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '11' | ||
distribution: 'temurin' | ||
|
||
- name: Publish package | ||
run: mvn --batch-mode deploy | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
@echo off | ||
|
||
IF "%~1"=="" GOTO :BUILDALL | ||
mvn -f ..\..\%~1\pom.xml clean install | ||
mvn -f ..\..\%~1\pom.xml clean install -DskipTests | ||
:BUILDALL | ||
mvn -f ..\..\pom.xml clean install | ||
mvn -f ..\..\pom.xml clean install -DskipTests |
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
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
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
Oops, something went wrong.