Skip to content

Commit

Permalink
Explicitly set build timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
jdhoek committed Nov 24, 2020
1 parent b254379 commit 3c880cc
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,14 @@
<property name="plugin.canloadatruntime" value="true"/>

<import file="../build-common.xml"/>

<exec dir="." executable="git" outputproperty="last-commit-ts">
<arg line="log -1 --pretty=format:%ct"/>
</exec>

<target name="additional-manifest">
<manifest file="MANIFEST" mode="update">
<attribute name="Plugin-Version" value="${last-commit-ts}"/>
</manifest>
</target>
</project>

0 comments on commit 3c880cc

Please sign in to comment.