Skip to content

Commit 7a00069

Browse files
author
Rastusik
committed
fix(script): fix for acquiring GH_RELEASE_NOTES_HEADER in release-version script
1 parent 228040b commit 7a00069

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ version: 2.1
22
executors:
33
pixelfederation-docker-client:
44
docker:
5-
- image: pixelfederation/docker-client:20.10.5-compose
5+
- image: pixelfederation/docker-client:20.10.17-compose
66
working_directory: ~/workdir
77

88
aliases:
99
# Remote Docker config
1010
- &docker-remote-version
1111
setup_remote_docker:
1212
# https://circleci.com/docs/2.0/building-docker-images/#docker-version
13-
version: 20.10.2
13+
version: 20.10.17
1414

1515
# Filters
1616
- &filter-run-on-local-branches

release-version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ echo "Preparing release of version: ${NEW_VERSION}"
144144
RELEASE_TAG="v${NEW_VERSION}"
145145
# Save release notes
146146
git tag "${RELEASE_TAG}" > /dev/null 2>&1
147-
GH_RELEASE_NOTES_HEADER="$(conventional-changelog -p angular -r 2 | awk 'NR > 4 { print }' | head -n 1)"
147+
GH_RELEASE_NOTES_HEADER="$(conventional-changelog -p angular -r 2 | head -n 5 | tail -n 1)"
148148
git tag -d "${RELEASE_TAG}" > /dev/null 2>&1
149149
GH_RELEASE_NOTES="$(conventional-changelog -p angular | awk 'NR > 3 { print }')"
150150
if [ "" = "$(echo -n "$GH_RELEASE_NOTES" | tr '\n' ' ')" ]; then

0 commit comments

Comments
 (0)