kyuubi/build
Cheng Pan 9d2ea7c896 [KYUUBI #6061] Delete svn staging dir before checking out
# 🔍 Description
## Issue References 🔗

The release process will fail with the following errors if `SVN_STAGING_DIR`(`${KYUUBI_DIR}/work/svn-dev"`) exist.
```
+ upload_svn_staging
+ svn checkout --depth=empty https://dist.apache.org/repos/dist/dev/kyuubi /home/ubuntu/apache-kyuubi/work/svn-dev
svn: warning: cannot set LC_CTYPE locale
svn: warning: environment variable LC_CTYPE is UTF-8
svn: warning: please check that your locale name is correct
svn: E155016: The working copy database at '/home/ubuntu/apache-kyuubi/work/svn-dev' is missing.
```

## Describe Your Solution 🔧

Delete `SVN_STAGING_DIR` before checking out

## Types of changes 🔖

- [x] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)

## Test Plan 🧪

Manually test.

---

# Checklist 📝

- [x] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html)

**Be nice. Be informative.**

Closes #6061 from pan3793/release-rm.

Closes #6061

3a9d51e89 [Cheng Pan] Delete svn staging dir before checking out

Authored-by: Cheng Pan <chengpan@apache.org>
Signed-off-by: Cheng Pan <chengpan@apache.org>
2024-02-20 02:38:38 +00:00
..
release [KYUUBI #6061] Delete svn staging dir before checking out 2024-02-20 02:38:38 +00:00
dependency.sh [KYUUBI #4191] [Improvement] Skip fetching Maven dependency snapshot update when building dependencyList 2023-01-30 13:47:12 +08:00
dist [KYUUBI #4828] [BUILD] Exclude macOS tar extended metadata in build/dist 2023-05-12 08:39:10 +08:00
Dockerfile [KYUUBI #4288] Use eclipse-temurin:8-jdk-focal as default base image 2023-02-10 12:25:57 +08:00
kyuubi-build-info [KYUUBI #4187] [Improvement] Print revision commit time on server startup 2023-01-20 23:43:29 +08:00
kyuubi-build-info.cmd [KYUUBI #3903] Support windows generate kyuubi-version-info.properties 2022-12-05 20:27:43 +08:00
mvn [KYUUBI #4247][FOLLOWUP] Fix build/mvn version comparison 2023-02-09 20:45:02 +08:00
util.sh