Skip to content

Commit

Permalink
fix create release script
Browse files Browse the repository at this point in the history
  • Loading branch information
antoooks committed May 25, 2024
1 parent da42fc2 commit 4af5886
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release-kustomize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,16 @@ jobs:
# Build kustomize binary
./releasing/build-kustomize-binary.sh
# Ccompile changelog
# Compile changelog
changelog_file=$(mktemp)
currentTag=$(git describe --tags)
./releasing/compile-changelog.sh "kustomize" "${currentTag}" "${changelog_file}"
# Create github releases
export additional_release_artifacts_arg=("dist"/*)
gh release create "${currentTag}" \
--title "${currentTag}" \
--draft \
--notes-file "${changelog_file}"
--notes-file "${changelog_file}" \
"${additional_release_artifacts_arg[@]}"
3 changes: 0 additions & 3 deletions releasing/build-kustomize-binary.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,6 @@ main() {

mkdir -p dist
release_artifact_dir=${PWD}/dist

additional_release_artifacts_arg=("$release_artifact_dir"/*)

build_kustomize_binary "${version}" "${release_artifact_dir}"
}

Expand Down

0 comments on commit 4af5886

Please sign in to comment.