File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,10 @@ if [[ -n $unpushed_commits ]]; then
3131 exit 1
3232fi
3333
34+ if ! gh auth status & > /dev/null; then
35+ gh auth login
36+ fi
37+
3438git branch -D " release-${version} " || true
3539git checkout -b " release-${version} "
3640
@@ -43,7 +47,7 @@ gh pr create \
4347 --base main \
4448 --head " release-${version} " \
4549 --title " Release ${version} " \
46- --body " Release ${version} of nixpkgs-review "
50+ --body " Release ${version} of nixos-anywhere "
4751
4852gh pr merge --auto " release-${version} "
4953git checkout main
@@ -56,4 +60,6 @@ while true; do
5660 sleep 5
5761done
5862git pull " $repo_url " main
59- gh release create " ${version} " --draft --title " ${version} " --notes " "
63+ gh release create " ${version} " --draft --generate-notes
64+ gh release view " ${version} " --web
65+ echo " Please clean up the autogenerated release notes and then publish the release"
You can’t perform that action at this time.
0 commit comments