Skip to content

Commit 1a0352e

Browse files
authored
chore(dist): fix path when exporting source package (#319)
1 parent 3f38329 commit 1a0352e

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.gitattributes

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@
66

77
# ignored directory
88
.github/ export-ignore
9-
computer-k8s-operator/crd-generate/bin/ export-ignore
9+
computer/computer-k8s-operator/crd-generate/bin/ export-ignore
10+
computer/computer-dist/scripts/ export-ignore
11+
computer/computer-dist/release-docs/ export-ignore

computer/computer-dist/scripts/apache-release.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,10 @@ echo "In the work dir: $(pwd)"
3939
rm -rf dist && mkdir -p dist/apache-${REPO}
4040

4141
# step1: package the source code
42-
cd ../../ || exit
42+
cd ../../../ || exit
43+
pwd
4344
git archive --format=tar.gz \
44-
--output="computer-dist/scripts/dist/apache-${REPO}/apache-${REPO}-incubating-${RELEASE_VERSION}-src.tar.gz" \
45+
--output="computer/computer-dist/scripts/dist/apache-${REPO}/apache-${REPO}-incubating-${RELEASE_VERSION}-src.tar.gz" \
4546
--prefix="apache-${REPO}-incubating-${RELEASE_VERSION}-src/" "${GIT_BRANCH}" || exit
4647
cd - || exit
4748

0 commit comments

Comments
 (0)