[MINOR] Fix bugs in the release scripts
diff --git a/dev/release/old-release-build.sh b/dev/release/old-release-build.sh
index 7f55af3..b6ac12b 100644
--- a/dev/release/old-release-build.sh
+++ b/dev/release/old-release-build.sh
@@ -1,8 +1,6 @@
#!/usr/bin/env bash
#-------------------------------------------------------------
#
-# Modifications Copyright 2019 Graz University of Technology
-#
# 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
@@ -22,6 +20,7 @@
#
#-------------------------------------------------------------
+
function exit_with_usage {
cat << EOF
release-build - Creates build distributions from a git commit hash or from HEAD.
diff --git a/dev/release/publish.sh b/dev/release/publish.sh
index d2f2d99..84a592c 100644
--- a/dev/release/publish.sh
+++ b/dev/release/publish.sh
@@ -1,4 +1,25 @@
#!/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 limitations
+# under the License.
+#
+#-------------------------------------------------------------
+
MVN=mvn
PUBLISH_PROFILES="-Pdistribution,rat"
DRY_RUN=-DdryRun=true
diff --git a/dev/release/svn_dev_upload.sh b/dev/release/svn_dev_upload.sh
index 49667d8..8c850ea 100644
--- a/dev/release/svn_dev_upload.sh
+++ b/dev/release/svn_dev_upload.sh
@@ -1,4 +1,25 @@
#!/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 limitations
+# under the License.
+#
+#-------------------------------------------------------------
+
MVN=mvn
PUBLISH_PROFILES="-Pdistribution,rat"
DRY_RUN=-DdryRun=true