Skip to content

Commit

Permalink
Added signature alongside ktlint binary
Browse files Browse the repository at this point in the history
  • Loading branch information
shyiko committed May 23, 2017
1 parent 20f51be commit e8cb28f
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion ktlint/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,28 @@
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<id>ktlint</id>
<phase>verify</phase>
<configuration>
<target name="gpg-sign">
<exec executable="gpg" dir="${basedir}" failonerror="true">
<arg value="-ab"/>
<arg value="${project.build.directory}/${project.artifactId}"/>
</exec>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>de.jutzig</groupId>
<artifactId>github-release-plugin</artifactId>
Expand All @@ -297,7 +319,15 @@
<description>${project.version}</description>
<releaseName>${project.version}</releaseName>
<tag>${project.version}</tag>
<artifact>${project.build.directory}/${project.artifactId}</artifact>
<fileSets>
<fileSet>
<directory>${project.build.directory}</directory>
<includes>
<include>${project.artifactId}</include>
<include>${project.artifactId}.asc</include>
</includes>
</fileSet>
</fileSets>
</configuration>
<executions>
<execution>
Expand Down

0 comments on commit e8cb28f

Please sign in to comment.