Skip to content
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

Fix the version set in the pom.xml for a release #26

Merged
merged 1 commit into from
Jul 17, 2024
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
4 changes: 3 additions & 1 deletion .github/workflows/publish-java-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ jobs:
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE
- name: Publish
run: mvn -Drevision=${{ inputs.releaseVersion }} clean deploy -Prelease
run: |
mvn versions:set -DnewVersion ${{ inputs.releaseVersion }}
mvn clean deploy -Prelease
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }}
Expand Down
13 changes: 11 additions & 2 deletions java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.scylladb.alternator</groupId>
<artifactId>load-balancing</artifactId>
<version>${revision}</version>
<version>1.0.0-SNAPSHOT</version>
<name>Scylla Alternator client performing load balancing</name>
<description>DynamoDB client request handler balancing the load across all the nodes of a Scylla cluster</description>
<url>https://github.com/scylladb/alternator-load-balancing</url>
Expand All @@ -14,7 +14,6 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<revision>1.0.0-SNAPSHOT</revision>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -155,4 +154,14 @@
<organization>ScyllaDB</organization>
</developer>
</developers>

<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.17.1</version>
</plugin>
</plugins>
</build>
</project>