Update changelog command (#29382)
This commit is contained in:
@@ -552,7 +552,7 @@ e2e-set-desktop-token:
|
||||
docker compose exec -T mysql_test bash -c 'echo "INSERT INTO e2e.host_device_auth (host_id, token) VALUES ($(host_id), \"$(token)\") ON DUPLICATE KEY UPDATE token=VALUES(token)" | MYSQL_PWD=toor mysql -uroot'
|
||||
|
||||
changelog:
|
||||
sh -c "find changes -type f | grep -v .keep | xargs -I {} sh -c 'grep \"\S\" {}; echo' > new-CHANGELOG.md"
|
||||
find changes -type f ! -name .keep -exec awk 'NF' {} + > new-CHANGELOG.md
|
||||
sh -c "cat new-CHANGELOG.md CHANGELOG.md > tmp-CHANGELOG.md && rm new-CHANGELOG.md && mv tmp-CHANGELOG.md CHANGELOG.md"
|
||||
sh -c "git rm changes/*"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user