Compare commits

..

18 Commits

Author SHA1 Message Date
Amith Koujalgi
4425226439 [maven-release-plugin] prepare release v1.0.5 2023-12-19 20:41:56 +05:30
Amith Koujalgi
80f9f6c370 clean up 2023-12-19 20:41:22 +05:30
Amith Koujalgi
28b8877477 Merge remote-tracking branch 'origin/main' 2023-12-19 20:39:33 +05:30
Amith Koujalgi
c40e9999ab clean up 2023-12-19 20:39:26 +05:30
amithkoujalgi
d21c331b6e [maven-release-plugin] prepare for next development iteration 2023-12-19 15:03:17 +00:00
amithkoujalgi
6ac6c09693 [maven-release-plugin] prepare release v1.0.4 2023-12-19 15:03:16 +00:00
Amith Koujalgi
d18148241c clean up 2023-12-19 20:32:22 +05:30
amithkoujalgi
9e9b3bbb43 [maven-release-plugin] prepare for next development iteration 2023-12-19 14:57:56 +00:00
amithkoujalgi
ed124da25f [maven-release-plugin] prepare release v1.0.3 2023-12-19 14:57:55 +00:00
Amith Koujalgi
c33f6ec164 clean up 2023-12-19 20:27:05 +05:30
Amith Koujalgi
126d0c8986 clean up 2023-12-19 20:22:23 +05:30
Amith Koujalgi
8a59626f0c clean up 2023-12-19 20:21:00 +05:30
Amith Koujalgi
9e3d48b24d clean up 2023-12-19 20:20:39 +05:30
Amith Koujalgi
ad4a5e36aa clean up 2023-12-19 20:20:29 +05:30
Amith Koujalgi
90d1757b3f clean up 2023-12-19 20:17:54 +05:30
Amith Koujalgi
f2b4bf9ae5 [maven-release-plugin] prepare for next development iteration 2023-12-19 20:16:50 +05:30
Amith Koujalgi
6a07ad47c8 [maven-release-plugin] prepare release v1.0.2 2023-12-19 20:16:47 +05:30
Amith Koujalgi
03a206f089 [maven-release-plugin] prepare for next development iteration 2023-12-19 20:15:02 +05:30
2 changed files with 7 additions and 12 deletions

View File

@@ -14,12 +14,10 @@ on:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
contents: write
packages: write
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
@@ -29,13 +27,8 @@ jobs:
distribution: 'adopt-hotspot'
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file
# - name: Run Tests
# run: mvn -U clean verify --file pom.xml
- name: Build with Maven
run: mvn --file pom.xml -U clean package -Punit-tests
- name: Set up Apache Maven Central (Overwrite settings.xml)
uses: actions/setup-java@v3
with: # running setup-java again overwrites the settings.xml
@@ -47,9 +40,11 @@ jobs:
server-password: MAVEN_PASSWORD
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE
- name: Publish to GitHub Packages Apache Maven
run: mvn clean deploy -Punit-tests -Dgpg.passphrase="${{ secrets.GPG_PASSPHRASE }}"
run: |
git config --global user.email "koujalgi.amith@gmail.com"
git config --global user.name "amithkoujalgi"
mvn clean -Punit-tests release:clean release:prepare release:perform -B -Darguments="-DskipTests -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }}"
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}

View File

@@ -4,7 +4,7 @@
<groupId>io.github.amithkoujalgi</groupId>
<artifactId>ollama4j</artifactId>
<version>1.0.1</version>
<version>1.0.5</version>
<name>Ollama4j</name>
<description>Java library for interacting with Ollama API.</description>
@@ -39,7 +39,7 @@
<connection>scm:git:git@github.com:amithkoujalgi/ollama4j.git</connection>
<developerConnection>scm:git:https://github.com/amithkoujalgi/ollama4j.git</developerConnection>
<url>https://github.com/amithkoujalgi/ollama4j</url>
<tag>v1.0.1</tag>
<tag>v1.0.5</tag>
</scm>
<build>