提交 3f1f29ae 编写于 作者: K kohsuke

Merged revisions 23932-23934 via svnmerge from

https://svn.dev.java.net/svn/hudson/branches/rc

........
  r23932 | kohsuke | 2009-11-20 23:58:03 -0800 (Fri, 20 Nov 2009) | 1 line
  
  gpg can take passphrase from a file by itself
........
  r23933 | kohsuke | 2009-11-21 00:01:53 -0800 (Sat, 21 Nov 2009) | 1 line
  
  merged the temporary change in the 1.335 tag
........
  r23934 | kohsuke | 2009-11-21 00:02:25 -0800 (Sat, 21 Nov 2009) | 1 line
  
  in case someone updates changelog.html while a release is in progress
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23936 71c3de6d-444a-0410-be80-ed276b4c234a
上级 6bb99e40
#!/bin/bash -ex #!/bin/bash -ex
createrepo . createrepo .
GPG_AGENT_INFO= ./repomd-sign $(cat ~/.gpg.passphrase) repodata/repomd.xml gpg -a --detach-sign --yes --no-use-agent --passphrase-file ~/.gpg.passphrase repodata/repomd.xml
cp hudson-ci.org.key repodata/repomd.xml.key cp hudson-ci.org.key repodata/repomd.xml.key
rsync -avz *.key readme.html RPMS repodata hudson-ci.org:~/www/hudson-ci.org/opensuse rsync -avz *.key readme.html RPMS repodata hudson-ci.org:~/www/hudson-ci.org/opensuse
...@@ -103,11 +103,7 @@ THE SOFTWARE. ...@@ -103,11 +103,7 @@ THE SOFTWARE.
<configuration> <configuration>
<!-- enable release profile during the release, create IPS package, and sign bits. --> <!-- enable release profile during the release, create IPS package, and sign bits. -->
<prepareVerifyArgs>-P release,ips,sign</prepareVerifyArgs> <prepareVerifyArgs>-P release,ips,sign</prepareVerifyArgs>
<!-- <goals>-DskipTests javadoc:javadoc animal-sniffer:check deploy javadoc:aggregate</goals>
also run assembly during the release.
http://www.nabble.com/Release-Plugin%3A-Include-assemblies-for-deploying-tf2642295s177.html#a7377938
-->
<goals>-DskipTests install javadoc:javadoc animal-sniffer:check assembly:attached deploy javadoc:aggregate</goals>
<remoteTagging>true</remoteTagging><!-- work around http://jira.codehaus.org/browse/SCM-406 --> <remoteTagging>true</remoteTagging><!-- work around http://jira.codehaus.org/browse/SCM-406 -->
</configuration> </configuration>
</plugin> </plugin>
...@@ -121,16 +117,6 @@ THE SOFTWARE. ...@@ -121,16 +117,6 @@ THE SOFTWARE.
<encoding>UTF-8</encoding> <encoding>UTF-8</encoding>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<inherited>false</inherited>
<configuration>
<finalName>hudson-${version}</finalName>
<descriptors>
<descriptor>assembly-src.xml</descriptor>
</descriptors>
</configuration>
</plugin>
<plugin> <plugin>
<artifactId>maven-remote-resources-plugin</artifactId> <artifactId>maven-remote-resources-plugin</artifactId>
<version>1.0</version> <version>1.0</version>
...@@ -260,6 +246,31 @@ THE SOFTWARE. ...@@ -260,6 +246,31 @@ THE SOFTWARE.
</plugins> </plugins>
</build> </build>
</profile> </profile>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<inherited>false</inherited>
<executions>
<execution>
<goals>
<goal>attached</goal>
</goals>
<phase>package</phase>
<configuration>
<finalName>hudson-${version}</finalName>
<descriptors>
<descriptor>assembly-src.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles> </profiles>
<repositories> <repositories>
......
...@@ -99,6 +99,7 @@ cat war/target/hudson-war-$id.ipstgz | ssh wsinterop.sun.com "cd ips/repository; ...@@ -99,6 +99,7 @@ cat war/target/hudson-war-$id.ipstgz | ssh wsinterop.sun.com "cd ips/repository;
ssh wsinterop.sun.com "cd ips; ./start.sh" ssh wsinterop.sun.com "cd ips; ./start.sh"
pushd $WWW pushd $WWW
svn update changelog.html
svn commit -m "Hudson $id released" changelog.html hudson.jnlp svn commit -m "Hudson $id released" changelog.html hudson.jnlp
popd popd
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册