diff --git a/.gitattributes b/.gitattributes index 1b26b132c..170b481e9 100755 --- a/.gitattributes +++ b/.gitattributes @@ -6,4 +6,6 @@ # ignored directory .github/ export-ignore -computer-k8s-operator/crd-generate/bin/ export-ignore +computer/computer-k8s-operator/crd-generate/bin/ export-ignore +computer/computer-dist/scripts/ export-ignore +computer/computer-dist/release-docs/ export-ignore diff --git a/computer/computer-dist/scripts/apache-release.sh b/computer/computer-dist/scripts/apache-release.sh index d3b948926..9ed75d9da 100755 --- a/computer/computer-dist/scripts/apache-release.sh +++ b/computer/computer-dist/scripts/apache-release.sh @@ -39,9 +39,10 @@ echo "In the work dir: $(pwd)" rm -rf dist && mkdir -p dist/apache-${REPO} # step1: package the source code -cd ../../ || exit +cd ../../../ || exit +pwd git archive --format=tar.gz \ - --output="computer-dist/scripts/dist/apache-${REPO}/apache-${REPO}-incubating-${RELEASE_VERSION}-src.tar.gz" \ + --output="computer/computer-dist/scripts/dist/apache-${REPO}/apache-${REPO}-incubating-${RELEASE_VERSION}-src.tar.gz" \ --prefix="apache-${REPO}-incubating-${RELEASE_VERSION}-src/" "${GIT_BRANCH}" || exit cd - || exit