Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
small fixes to the release script
Browse files Browse the repository at this point in the history
  • Loading branch information
luxas committed Aug 6, 2019
1 parent bfbb36f commit a15fb8e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions hack/release-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ if [[ ! -f bin/gren_token ]]; then
fi

run_gren() {
docker build -t ignite-relnotes hack/relnotes
docker run -it \
-v $(pwd):/data \
-w /data \
Expand Down Expand Up @@ -34,13 +33,15 @@ gen_changelog_md() {
# Generate docs/releases/next.md based of GH release notes
run_gren "changelog"
# Add the new release and existing ones to the changelog
cat docs/releases/next.md >> ${file}
# docs/releases/${FULL_VERSION}.md
cat docs/releases/${FULL_VERSION}.md docs/releases/next.md >> ${file}
# Remove the temporary file
rm docs/releases/next.md
}

write_changelog() {
# Build the gren image
docker build -t ignite-relnotes hack/relnotes

# Generate the changelog draft
if [[ ! -f docs/releases/${FULL_VERSION}.md ]]; then
# Push the tag provisionally, we'll later update it
Expand Down

0 comments on commit a15fb8e

Please sign in to comment.