diff --git a/docs/RELEASE.md b/docs/RELEASE.md index 713ba3eff..f95ec77e2 100644 --- a/docs/RELEASE.md +++ b/docs/RELEASE.md @@ -6,7 +6,7 @@ This documents contains the necessary steps to conduct a successful release. Get a first template with [`clog`](https://github.com/clog-tool/clog-cli) ```console - $ clog -F -r https://github.com/dracutdevs/dracut + $ clog -F -r https://github.com/dracut-ng/dracut-ng ``` 2. Update the contributors list in NEWS.md @@ -42,7 +42,7 @@ This documents contains the necessary steps to conduct a successful release. Add the section from `NEWS.md` to the git tag message excluding the Rendered view entry. -6. Create a new release on github (https://github.com/dracutdevs/dracut/releases/new) +6. Create a new release on github (https://github.com/dracut-ng/dracut-ng/releases/new) - Add the section from `NEWS.md` to the release. -7. Open a new milestone, move all unfinished issue from the previous milestone to the new one and close the released milestone (https://github.com/dracutdevs/dracut/milestones) +7. Open a new milestone, move all unfinished issue from the previous milestone to the new one and close the released milestone (https://github.com/dracut-ng/dracut-ng/milestones) diff --git a/tools/release.sh b/tools/release.sh index 531ead80b..e4f922dc0 100755 --- a/tools/release.sh +++ b/tools/release.sh @@ -32,21 +32,21 @@ printf "dracut-%s\n==========\n" "$NEW_VERSION" > NEWS_header_new.md cat CONTRIBUTORS.md NEWS_body.md > NEWS_body_with_conttributors.md # clog will always output both the new release and old release information together -clog -F --infile NEWS_body_with_conttributors.md -r https://github.com/dracutdevs/dracut | sed '1,2d' > NEWS_body_full.md +clog -F --infile NEWS_body_with_conttributors.md -r https://github.com/dracut-ng/dracut-ng | sed '1,2d' > NEWS_body_full.md # Use diff to separate new release information and remove repeated empty lines diff NEWS_body_with_conttributors.md NEWS_body_full.md | grep -e ^\>\ | sed s/^\>\ // | cat -s > NEWS_body_new.md cat NEWS_header.md NEWS_header_new.md NEWS_body_new.md NEWS_body_with_conttributors.md > NEWS.md -# message for https://github.com/dracutdevs/dracut/releases/tag +# message for https://github.com/dracut-ng/dracut-ng/releases/tag cat -s NEWS_body_new.md CONTRIBUTORS.md > release.md # dracut-version.sh printf "#!/bin/sh\n# shellcheck disable=SC2034\nDRACUT_VERSION=%s\n" "$NEW_VERSION" > dracut-version.sh # Check in AUTHORS and NEWS.md -git config user.name "Dracut Release Bot" -git config user.email "<>" +git config user.name "dracutng[bot]" +git config user.email "" git commit -m "docs: update NEWS.md and AUTHORS" NEWS.md AUTHORS dracut-version.sh git push origin main git tag "$NEW_VERSION" -m "$NEW_VERSION"