You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by tz...@apache.org on 2020/04/08 05:49:12 UTC

[flink-statefun] branch master updated: [hotfix] [build] Ignore license checks in snapshot deployments

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

tzulitai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-statefun.git


The following commit(s) were added to refs/heads/master by this push:
     new c536942  [hotfix] [build] Ignore license checks in snapshot deployments
c536942 is described below

commit c536942e6e076bd0a146e1b94e4faa20c7d7f538
Author: Tzu-Li (Gordon) Tai <tz...@apache.org>
AuthorDate: Wed Apr 8 13:48:39 2020 +0800

    [hotfix] [build] Ignore license checks in snapshot deployments
---
 tools/snapshots/deploy_snapshot_jars.sh | 34 ++++++++++++++++-----------------
 1 file changed, 17 insertions(+), 17 deletions(-)

diff --git a/tools/snapshots/deploy_snapshot_jars.sh b/tools/snapshots/deploy_snapshot_jars.sh
index 0a437b3..3f5fa71 100755
--- a/tools/snapshots/deploy_snapshot_jars.sh
+++ b/tools/snapshots/deploy_snapshot_jars.sh
@@ -1,21 +1,21 @@
 #!/usr/bin/env bash
-################################################################################
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-#  Unless required by applicable law or agreed to in writing, software
-#  distributed under the License is distributed on an "AS IS" BASIS,
-#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#  See the License for the specific language governing permissions and
+
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
 # limitations under the License.
-################################################################################
+#
 
 #
 # Deploys snapshot builds to Apache's snapshot repository.
@@ -49,7 +49,7 @@ echo "Detected current version as: '$CURRENT_STATEFUN_VERSION'"
 
 if [[ ${CURRENT_STATEFUN_VERSION} == *SNAPSHOT* ]] ; then
     echo "Deploying to repository.apache.org/content/repositories/snapshots/"
-    ${MVN} clean deploy -Papache-release -Dgpg.skip -DskipTests -DretryFailedDeploymentCount=10
+    ${MVN} clean deploy -Papache-release -Dgpg.skip -Drat.skip=true -Drat.ignoreErrors=true -DskipTests -DretryFailedDeploymentCount=10
     exit 0
 else
     echo "Snapshot deployments should only be done for snapshot versions"