Skip to content

Commit

Permalink
fix release
Browse files Browse the repository at this point in the history
Signed-off-by: tison <[email protected]>
  • Loading branch information
tisonkun committed Dec 27, 2023
1 parent 68ce36f commit 792d93b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 35 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-java-snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
server-username: NEXUS_USERNAME
server-password: NEXUS_PASSWORD
- name: Publish Fury Java Snapshot
run: cd java && mvn --batch-mode -q deploy -Dgpg.skip -DskipTests -Prelease
run: cd java && mvn --batch-mode -q deploy -Dgpg.skip -DskipTests -Papache-release,!develop
env:
NEXUS_USERNAME: ${{ secrets.NEXUS_USER }}
NEXUS_PASSWORD: ${{ secrets.NEXUS_PW }}
48 changes: 14 additions & 34 deletions java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,22 @@
<modules>
<module>fury-format</module>
<module>fury-core</module>
<module>fury-test-core</module>
<module>fury-testsuite</module>
<module>fury-benchmark</module>
</modules>

<profiles>
<profile>
<id>develop</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<modules>
<module>fury-test-core</module>
<module>fury-testsuite</module>
<module>fury-benchmark</module>
</modules>
</profile>
</profiles>

<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
Expand Down Expand Up @@ -254,35 +265,4 @@
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>release</id>
<activation>
<property>
<name>release</name>
<value>true</value>
</property>
</activation>
<properties>
<output.directory>${basedir}</output.directory>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit 792d93b

Please sign in to comment.