Skip to content

Commit 462f040

Browse files
committed
fix create release script
1 parent 68f10f3 commit 462f040

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/release-kustomize.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,13 +134,16 @@ jobs:
134134
# Build kustomize binary
135135
./releasing/build-kustomize-binary.sh
136136
137-
# Ccompile changelog
137+
# Compile changelog
138138
changelog_file=$(mktemp)
139139
currentTag=$(git describe --tags)
140140
./releasing/compile-changelog.sh "kustomize" "${currentTag}" "${changelog_file}"
141141
142142
# Create github releases
143+
export additional_release_artifacts_arg=("dist"/*)
144+
143145
gh release create "${currentTag}" \
144146
--title "${currentTag}" \
145147
--draft \
146-
--notes-file "${changelog_file}"
148+
--notes-file "${changelog_file}" \
149+
"${additional_release_artifacts_arg[@]}"

releasing/build-kustomize-binary.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,6 @@ main() {
6565

6666
mkdir -p dist
6767
release_artifact_dir=${PWD}/dist
68-
69-
additional_release_artifacts_arg=("$release_artifact_dir"/*)
70-
7168
build_kustomize_binary "${version}" "${release_artifact_dir}"
7269
}
7370

0 commit comments

Comments
 (0)