This commit is contained in:
Amith Koujalgi 2023-12-19 19:57:13 +05:30
parent 60158447e4
commit aa3cde44f4
2 changed files with 11 additions and 2 deletions

View File

@ -8,4 +8,10 @@ build:
mvn clean test install -Punit-tests mvn clean test install -Punit-tests
release: release:
mvn clean release:prepare release:perform mvn clean -Punit-tests release:clean release:prepare release:perform
update-version:
mvn versions:set -DnewVersion=1.0.1
deploy:
mvn clean deploy -Punit-tests -Dgpg.passphrase="$GPG_PASSPHRASE" -e

View File

@ -6,7 +6,7 @@
<groupId>io.github.amithkoujalgi</groupId> <groupId>io.github.amithkoujalgi</groupId>
<artifactId>ollama4j</artifactId> <artifactId>ollama4j</artifactId>
<version>1.0</version> <version>1.0.1</version>
<name>Ollama4j</name> <name>Ollama4j</name>
<description>Java library for interacting with Ollama API.</description> <description>Java library for interacting with Ollama API.</description>
@ -141,8 +141,11 @@
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId> <artifactId>maven-release-plugin</artifactId>
<version>3.0.1</version>
<configuration> <configuration>
<goals>install</goals>
<tagNameFormat>v@{project.version}</tagNameFormat> <tagNameFormat>v@{project.version}</tagNameFormat>
</configuration> </configuration>
</plugin> </plugin>