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

ctubbsii pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo-maven-plugin.git


The following commit(s) were added to refs/heads/main by this push:
     new 5d13859  Ensure release candidate build script runs at project root
5d13859 is described below

commit 5d13859c695a611ed0a5adba63c463e0b0426028
Author: Christopher Tubbs <ctubb...@apache.org>
AuthorDate: Wed Aug 16 17:01:11 2023 -0400

    Ensure release candidate build script runs at project root
---
 src/build/create-release-candidate.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/build/create-release-candidate.sh 
b/src/build/create-release-candidate.sh
index f7c5f3b..994b14a 100755
--- a/src/build/create-release-candidate.sh
+++ b/src/build/create-release-candidate.sh
@@ -20,6 +20,8 @@
 
 cd "$(dirname "$0")/.." || exit 1
 scriptname=$(basename "$0")
+projectroot="$(git rev-parse --show-toplevel)" || exit 1
+cd "$projectroot" || exit 1
 export tlpName=accumulo
 export projName="${tlpName}2-maven-plugin"
 export projNameLong="Accumulo2 Maven Plugin"

Reply via email to