Skip to content

Commit

Permalink
gpg-signature for released artifacts.
Browse files Browse the repository at this point in the history
  • Loading branch information
huxi committed May 8, 2010
1 parent 4e9ed49 commit c2689ee
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 5 deletions.
35 changes: 35 additions & 0 deletions lilith-parent/pom.xml
Expand Up @@ -29,6 +29,9 @@
<!-- The following lines prevent "[WARNING] Using platform encoding[..]" messages -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- making sure that gpg2 works -->
<gpg.useagent>true</gpg.useagent>
<gpg.keyname>740A1840</gpg.keyname>
</properties>

<licenses>
Expand Down Expand Up @@ -821,6 +824,10 @@
<artifactId>maven-site-plugin</artifactId>
<version>2.1</version>
</plugin>
<plugin>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.0</version>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<version>2.1</version>
Expand Down Expand Up @@ -968,5 +975,33 @@
-->
</plugins>
</build>

<profiles>
<profile>
<id>release-sign-artifacts</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<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>
</project>

2 changes: 1 addition & 1 deletion lilith/src/changes/changes.xml
Expand Up @@ -88,7 +88,7 @@
<release version="0.9.39" date="TBD" description="Future release">
<action dev="jhux" type="update">
Changed autocomplete of find combos from uber-annoying swingx to much less annoying
Glazedlists.
Glazed Lists.
This annoyed Alfred and me.
</action>
<action dev="jhux" type="fix" issue="82">
Expand Down
13 changes: 9 additions & 4 deletions release-procedure.txt
@@ -1,3 +1,8 @@
Start gpg-agent:
gpg-agent --daemon --enable-ssh-support --write-env-file "${HOME}/.gpg-agent-info"

#####

Validate correctness of trunk/lilith/lilith/src/main/resources/detailsView/history
Check that lilith logback.xml does not include debug="true"

Expand All @@ -23,9 +28,9 @@ git tag -s vx.x.x -m "x.x.x release"
#####

Change into sulky root.
mvn clean install
mvn clean install -DperformRelease=true
mvn site:site
mvn deploy
mvn deploy -DperformRelease=true
mvn site:deploy

#####
Expand All @@ -41,9 +46,9 @@ git tag -s vx.x.x -m "x.x.x release"
#####

Change into lilith root.
mvn clean install
mvn clean install -DperformRelease=true
mvn site:site
mvn deploy
mvn deploy -DperformRelease=true
mvn site:deploy

#####
Expand Down

0 comments on commit c2689ee

Please sign in to comment.