-
-
Notifications
You must be signed in to change notification settings - Fork 84
Release Version Auto-Bump #948
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
holmbergius
merged 5 commits into
WildMeOrg:main
from
Rodhlann:594-release-version-bump
Jan 18, 2025
Merged
Changes from 3 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
30a1f2d
add config for auto-version bump
Rodhlann 42ab561
Merge branch 'main' into 594-release-version-bump
Rodhlann 2a2d6f4
Merge branch 'main' into 594-release-version-bump
holmbergius 860549c
Fix "Release" spelling
Rodhlann fa0d83d
Use zulu-8 java version
Rodhlann File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
---|---|---|
|
@@ -4,11 +4,11 @@ on: | |
release: | ||
types: [published] | ||
|
||
|
||
jobs: | ||
build: | ||
name: Maven build , deploy and release | ||
runs-on: ubuntu-latest | ||
if: "!contains(github.event.head_commit.message, '[ci skip]')" | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -19,6 +19,15 @@ jobs: | |
distribution: 'zulu' | ||
java-version: 8 | ||
|
||
- name: Relase | ||
uses: qcastel/[email protected] | ||
env: | ||
JAVA_HOME: /usr/lib/jvm/java-1.8-openjdk/ | ||
with: | ||
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} | ||
maven-args: "-Dmaven.javadoc.skip=true -DskipTests -DskipITs -Ddockerfile.skip -DdockerCompose.skip" | ||
release-branch-name: "main" | ||
|
||
- name: Build with Maven | ||
run: | | ||
mvn dependency:resolve -B -U | ||
|
This file contains hidden or 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 |
---|---|---|
|
@@ -10,6 +10,7 @@ | |
<properties> | ||
<maven.compiler.source>1.8</maven.compiler.source> | ||
<maven.compiler.target>1.8</maven.compiler.target> | ||
<maven-release-plugin.version>3.1.1</maven-release-plugin.version> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<datanucleus.version>4.2.0-release</datanucleus.version> | ||
<datanucleus.lib.scope>compile</datanucleus.lib.scope> | ||
|
@@ -46,7 +47,6 @@ | |
</repository> | ||
</repositories> | ||
|
||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>com.rabbitmq</groupId> | ||
|
@@ -124,7 +124,6 @@ | |
<version>1.13.0</version> | ||
</dependency> | ||
|
||
|
||
<dependency> | ||
<groupId>org.scribe</groupId> | ||
<artifactId>scribe</artifactId> | ||
|
@@ -248,9 +247,7 @@ | |
<dependency> | ||
<groupId>org.opensearch.client</groupId> | ||
<artifactId>opensearch-java</artifactId> | ||
<!-- | ||
<version>2.9.1</version> | ||
--> | ||
<!-- <version>2.9.1</version> --> | ||
<version>2.10.3</version> | ||
</dependency> | ||
|
||
|
@@ -412,7 +409,6 @@ | |
<version>1.4.01</version> | ||
</dependency> | ||
|
||
|
||
<dependency> | ||
<groupId>jstl</groupId> | ||
<artifactId>jstl</artifactId> | ||
|
@@ -548,6 +544,13 @@ | |
|
||
</dependencies> | ||
|
||
<scm> | ||
<connection>scm:git:${project.scm.url}</connection> | ||
<developerConnection>scm:git:${project.scm.url}</developerConnection> | ||
<url>[email protected]:WildMeOrg/Wildbook.git</url> | ||
<tag>HEAD</tag> | ||
</scm> | ||
|
||
<build> | ||
<resources> | ||
<resource> | ||
|
@@ -557,13 +560,21 @@ | |
</resources> | ||
|
||
<plugins> | ||
<plugin> | ||
<artifactId>maven-release-plugin</artifactId> | ||
<version>${maven-release-plugin.version}</version> | ||
<configuration> | ||
<scmCommentPrefix>[ci skip]</scmCommentPrefix> | ||
</configuration> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.6.1</version> | ||
</plugin> | ||
|
||
<plugin> | ||
<plugin> | ||
<artifactId>maven-surefire-plugin</artifactId> | ||
<version>2.19</version> | ||
<dependencies> | ||
|
@@ -573,7 +584,7 @@ | |
<version>1.0.0</version> | ||
</dependency> | ||
</dependencies> | ||
</plugin> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
|
@@ -634,26 +645,26 @@ | |
</executions> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.jacoco</groupId> | ||
<artifactId>jacoco-maven-plugin</artifactId> | ||
<version>0.8.8</version> | ||
<executions> | ||
<execution> | ||
<goals> | ||
<goal>prepare-agent</goal> | ||
</goals> | ||
</execution> | ||
<execution> | ||
<id>report</id> | ||
<phase>test</phase> | ||
<goals> | ||
<goal>report</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.jacoco</groupId> | ||
<artifactId>jacoco-maven-plugin</artifactId> | ||
<version>0.8.8</version> | ||
<executions> | ||
<execution> | ||
<goals> | ||
<goal>prepare-agent</goal> | ||
</goals> | ||
</execution> | ||
<execution> | ||
<id>report</id> | ||
<phase>test</phase> | ||
<goals> | ||
<goal>report</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.apache.tomcat.maven</groupId> | ||
<artifactId>tomcat7-maven-plugin</artifactId> | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this a typo? likely doesnt matter but thought i should mention. @Rodhlann
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It definitely is! Thanks for the heads up