File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Changelog
22
3- ## 0.16.0 - Unreleased
3+ ## 0.16.0 - 2026-05-10
44
55### Added
66
Original file line number Diff line number Diff line change 1010root=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) /.." && pwd) "
1111cd " $root "
1212
13+ repo=" $( gh repo view --json nameWithOwner -q .nameWithOwner) "
14+
1315changelog=" CHANGELOG.md"
1416if ! rg -q " ^## ${version} - " " $changelog " ; then
1517 echo " missing changelog section for $version " >&2
@@ -44,13 +46,13 @@ if [[ "$assets_count" -eq 0 ]]; then
4446 exit 2
4547fi
4648
47- release_run_id=" $( gh api repos/steipete/gogcli/ actions/runs --jq " .workflow_runs[] | select(.name==\" release\" ) | select(.head_branch==\" v$version \" ) | select(.conclusion==\" success\" ) | .id" | head -n1) "
49+ release_run_id=" $( gh api " repos/$repo / actions/runs" --jq " .workflow_runs[] | select(.name==\" release\" ) | select(.head_branch==\" v$version \" ) | select(.conclusion==\" success\" ) | .id" | head -n1) "
4850if [[ -z " $release_run_id " ]]; then
4951 echo " release workflow not green for v$version " >&2
5052 exit 2
5153fi
5254
53- ci_ok=" $( gh api repos/steipete/gogcli/ actions/runs --jq ' .workflow_runs[] | select(.name=="ci") | select(.head_branch=="main") | .conclusion // ""' | head -n1) "
55+ ci_ok=" $( gh api " repos/$repo / actions/runs" --jq ' .workflow_runs[] | select(.name=="ci") | select(.head_branch=="main") | .conclusion // ""' | head -n1) "
5456if [[ " $ci_ok " != " success" ]]; then
5557 echo " CI not green for main" >&2
5658 exit 2
You can’t perform that action at this time.
0 commit comments