[Bug] validate-release.sh improvement on Mac
- Dominant language
- Java
- Stars
- 3.2k
- Forks
- 636
- Avg merge
- 3d 11h
- Merged PRs (30d)
- 14
Description
### Bug Type (问题类型)
others (please edit later)
### Before submit
- [X] 我已经确认现有的 [Issues](https://github.com/hugegraph/hugegraph/issues) 与 [FAQ](https://hugegraph.github.io/hugegraph-doc/guides/faq.html) 中没有相同 / 重复问题
### Environment (环境信息)
- apache 1.0.0-rc2
- mac m1
### Expected & Actual behavior (期望与实际表现)
1. should echo which package name when check incubating name(fixed by: https://github.com/apache/incubator-hugegraph-doc/blame/release-1.2.0/dist/validate-release.sh#L89):
`The package name 'xx' should include incubating`
`The package name *src.tar.gz should include incubating`
2. error of `cd ./*toolchain*`(fixed by: https://github.com/apache/incubator-hugegraph-doc/blame/release-1.2.0/dist/validate-release.sh#L179):
`./validate-release.sh: line 45: cd: ./*toolchain*: No such file or directory`
3. not stop validate even if there are compile errors(fixed by: https://github.com/apache/incubator-hugegraph-doc/blame/release-1.2.0/dist/validate-release.sh#L154):
`mvn package -DskipTests -ntp && ls -lh`
4. need to stop the server after test(fixed by: https://github.com/apache/incubator-hugegraph-doc/blame/release-1.2.0/dist/validate-release.sh#L210):
`While lock file: rocksdb-data/m/LOCK: Resource temporarily unavailable`
5. need to check `hubble-dist` env dependency(**to check**):
check or auto install yarm for hubble:
https://github.com/apache/incubator-hugegraph/issues/2110#issuecomment-1427063927
6. need to check `wget` command(**to check**):
```java
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (download-swagger-ui) on project hugegraph-dist: An Ant BuildException has occured: exec returned: 1
[INFO] --- maven-antrun-plugin:1.8:run (download-swagger-ui) @ hugegraph-dist ---
[WARNING] Parameter tasks is deprecated, use target instead
[INFO] Executing tasks
main:
[exec] ./dist.sh: line 1: wget: command not found
[exec] tar: Error opening archive: Failed to open 'v4.15.5.tar.gz'
[exec] ./dist.sh: line 6: swagger-ui-4.15.5/dist/swagger-initializer.js: No such file or directory
[exec] cp: swagger-ui-4.15.5/dist: No such file or directory
```
### Vertex/Edge example (问题点 / 边数据举例)
_No response_
### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.