You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2019/04/28 05:10:48 UTC

[royale-typedefs] branch release_practice updated: try setting swc date for reproducible builds

This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch release_practice
in repository https://gitbox.apache.org/repos/asf/royale-typedefs.git


The following commit(s) were added to refs/heads/release_practice by this push:
     new 140c553  try setting swc date for reproducible builds
140c553 is described below

commit 140c553412948393db5c942b6aeda9cdd0e21089
Author: Alex Harui <ah...@apache.org>
AuthorDate: Sat Apr 27 22:10:38 2019 -0700

    try setting swc date for reproducible builds
---
 pom.xml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/pom.xml b/pom.xml
index 035ce09..8dffbaa 100644
--- a/pom.xml
+++ b/pom.xml
@@ -47,6 +47,7 @@
 
     <royale.compiler.version>0.9.6-SNAPSHOT</royale.compiler.version>
     <royale.build-tools.version>1.0.0</royale.build-tools.version>
+    <royale.swc-date>2/10/19 9:06 -0800</royale.swc-date>
 
     <git.executable>git</git.executable>
     <skipgpg>false</skipgpg>
@@ -309,6 +310,22 @@
             </plugins>
         </build>
     </profile>
+    <profile>
+        <id>release-swcs</id>
+        <build>
+            <plugins>
+                <plugin>
+                    <groupId>org.apache.royale.compiler</groupId>
+                    <artifactId>royale-maven-plugin</artifactId>
+                    <version>${royale.compiler.version}</version>
+                    <extensions>true</extensions>
+                    <configuration>
+                        <additionalCompilerOptions>-metadata.date="${royale.swc-date}";-metadata.dateFormat="MM/dd/yy HH:mm Z"</additionalCompilerOptions>
+                    </configuration>
+                </plugin>
+            </plugins>
+        </build>
+    </profile>
   </profiles>
 
   <repositories>