1
0
Fork 0
mirror of https://github.com/Luzifer/github-publish.git synced 2024-12-20 09:51:22 +00:00

Skip header when publishing release

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-09-29 13:35:43 +02:00
parent aaf3238c34
commit dea3a59f9c
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D
2 changed files with 2 additions and 2 deletions

View file

@ -1,2 +1,2 @@
05e4977d541b2ef07c757acca912b7b58b379fb425eceb3a1f53c829a78a4aa4 docker2aci.sh
0ffb3c44b712ff8527471b0127970e8b5a5ac1bae7ff8be76fff9390a4b8008b golang.sh
99cbc21bf39f58533b3f5e8a969499cf93e3dd36fb64c7f301bd2c6761125742 golang.sh

View file

@ -51,7 +51,7 @@ if [[ $NO_TESTS == false ]]; then
go test "${go_params[@]}" ${PACKAGES}
fi
changelog=$([ -f "${PWD}/History.md" ] && awk '/^#/ && ++c==2{exit}; /^#/f' "${PWD}/History.md" || echo "")
changelog=$([ -f "${PWD}/History.md" ] && awk '/^#/ && ++c==2{exit}; /^#/f' "${PWD}/History.md" | tail -n +2 || echo "")
step "Cleanup build directory if present"
rm -rf ${BUILD_DIR}