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
31
31
exit 1
32
32
fi
33
33
34
+ if ! gh auth status & > /dev/null; then
35
+ gh auth login
36
+ fi
37
+
34
38
git branch -D " release-${version} " || true
35
39
git checkout -b " release-${version} "
36
40
@@ -43,7 +47,7 @@ gh pr create \
43
47
--base main \
44
48
--head " release-${version} " \
45
49
--title " Release ${version} " \
46
- --body " Release ${version} of nixpkgs-review "
50
+ --body " Release ${version} of nixos-anywhere "
47
51
48
52
gh pr merge --auto " release-${version} "
49
53
git checkout main
@@ -56,4 +60,6 @@ while true; do
56
60
sleep 5
57
61
done
58
62
git 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