* [CELEBORN-166] Automate release build process. * Update .gitignore Co-authored-by: Cheng Pan <chengpan@apache.org> * sort dependencies. * remove dependency list. * 1.add git ignore. 2.add notice binary. * update. * update. * style. * style. * update. * Revert "style." This reverts commit b90eb94196a9080d04e732c6cfa5ddf8c570ce01. * Revert "style." This reverts commit ef7e70d33f4251f69631c9c4a3c571a714dd902c. * partial revert 63ae9f6 * Revert "update." This reverts commit 9fcb3580a229ac53b3b0b2a8e52a6a7f0ef7daad. * move to release folder Co-authored-by: Cheng Pan <chengpan@apache.org>
38 lines
1.1 KiB
Bash
Executable File
38 lines
1.1 KiB
Bash
Executable File
#!/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.
|
|
#
|
|
|
|
realpath() {
|
|
(
|
|
TARGET_FILE="$1"
|
|
|
|
cd "$(dirname "$TARGET_FILE")"
|
|
TARGET_FILE="$(basename "$TARGET_FILE")"
|
|
|
|
COUNT=0
|
|
while [ -L "$TARGET_FILE" -a $COUNT -lt 100 ]; do
|
|
TARGET_FILE="$(readlink "$TARGET_FILE")"
|
|
cd $(dirname "$TARGET_FILE")
|
|
TARGET_FILE="$(basename $TARGET_FILE)"
|
|
COUNT=$(($COUNT + 1))
|
|
done
|
|
|
|
echo "$(pwd -P)/"$TARGET_FILE""
|
|
)
|
|
}
|