Skip to content

Commit

Permalink
Up versions - we-node-client, we-sdk-spring, we-tx-observer
Browse files Browse the repository at this point in the history
  • Loading branch information
ashalaginov committed Jan 8, 2024
1 parent d7daf28 commit 4f4e833
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@ tests:

tests&build_for_maven_central:
stage: deploy
script:gi
script:
- unset SIGN_KEY_ID
- git fetch --tags --force
- cat > /root/.m2/settings.xml
- cat $we_maven_central_gpg | base64 --decode > "$(pwd)/we_maven_central.gpg"
- echo "<settings xmlns=\"http://maven.apache.org/SETTINGS/1.0.0\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"xsi:schemaLocation=\"http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd\"><servers><server><id>sonatype-releases</id><username>${SONATYPE_USER}</username><password>${SONATYPE_PASSWORD}</password></server><server><id>we-snapshots</id><username>${MAVEN_USER}</username><password>${MAVEN_PASSWORD}</password></server></servers></settings>" > /root/.m2/settings.xml
- mvn deploy:deploy -DrepositoryId=sonatype-releases -DperformRelease=true
- export MAVEN_OPTS="--add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.desktop/java.awt.font=ALL-UNNAMED"
- mvn clean deploy -DperformRelease=true
only:
- master

Expand Down
18 changes: 15 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@
</developers>

<properties>
<we-node-client.version>1.1.0</we-node-client.version>
<we-node-client.version>1.2.0</we-node-client.version>
<we-contract-sdk.version>1.3.1</we-contract-sdk.version>
<we-sdk-spring.version>1.0.1</we-sdk-spring.version>
<we-tx-observer.version>1.1.0</we-tx-observer.version>
<we-sdk-spring.version>1.0.2</we-sdk-spring.version>
<we-tx-observer.version>1.1.1</we-tx-observer.version>
<feign.version>11.10</feign.version>
<netty.version>4.1.34.Final</netty.version>
<grpc.version>1.20.0</grpc.version>
Expand Down Expand Up @@ -186,6 +186,18 @@
</configuration>
<!-- see https://www.simplify4u.org/sign-maven-plugin/ -->
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.3</version>
<extensions>true</extensions>
<configuration>
<serverId>sonatype-releases</serverId>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>

</plugins>
</build>
</profile>
Expand Down

0 comments on commit 4f4e833

Please sign in to comment.