mirror of
https://github.com/alibaba/arthas.git
synced 2024-04-21 10:21:39 +00:00
fix release config
This commit is contained in:
+2
-2
@@ -141,8 +141,7 @@ chmod +x /tmp/sphinx.osx-x86_64
|
||||
|
||||
* 修改`as.sh`里的版本,最后修改日期, `Bootstrap.java`里的版本,Dockerfile里的版本
|
||||
* 修改本地的maven settings.xml
|
||||
* mvn release:prepare -Darguments="-DskipTests -P full"
|
||||
* mvn release:perform -Darguments="-DskipTests -P full"
|
||||
* mvn clean deploy -DskipTests -P full -P release
|
||||
|
||||
如果在下载 sphinx-binary 出错,参考上面的 全量打包 的说明。
|
||||
|
||||
@@ -152,6 +151,7 @@ chmod +x /tmp/sphinx.osx-x86_64
|
||||
|
||||
比如下载地址: https://maven.aliyun.com/repository/public/com/taobao/arthas/arthas-packaging/3.x.x/arthas-packaging-3.x.x-bin.zip
|
||||
|
||||
* 打上tag,push tag到仓库上
|
||||
* 需要更新 gh-pages 分支下面的 arthas-boot.jar/arthas-demo.jar/as.sh ,下载 doc.zip,解压覆盖掉文档的更新
|
||||
* 需要更新docker镜像,push新的tag:https://hub.docker.com/r/hengyunabc/arthas/tags?page=1&ordering=last_updated
|
||||
|
||||
|
||||
@@ -118,6 +118,33 @@
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>release</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>performRelease</name>
|
||||
<value>true</value>
|
||||
</property>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-gpg-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>sign-artifacts</id>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>sign</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<properties>
|
||||
@@ -370,6 +397,15 @@
|
||||
<configuration>
|
||||
<additionalparam>-Xdoclint:none</additionalparam>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>release</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
|
||||
Reference in New Issue
Block a user