GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore(release): require notes for stable releases and remove old chan… · ogrman/opencode@c45aae7

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github
    • release
      • plan-release.sh
      • publish-discord.sh
    • workflows
      • release.yml
  • .gitignore
  • .opencode/command
    • changelog.md
  • script
    • changelog.ts
    • raw-changelog.ts
    • release.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/release/plan-release.sh‎

Copy file name to clipboardExpand all lines: .github/release/plan-release.sh
+5-1Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# (INPUT_BUMP, INPUT_VERSION) only, and writes them to $GITHUB_OUTPUT. Nothing here reads repository files.
44
#
55
# push or dispatch on dev -> dev 0.0.0-dev-<run> npm tag dev, desktop
6-
# dispatch on dev with bump/version -> latest x.y.z npm tag latest, releasers only
6+
# dispatch on dev with bump/version -> latest x.y.z npm tag latest, releasers only, notes required
77
# push or dispatch on beta -> beta 0.0.0-beta-<run> desktop only
88
# pull_request -> pr 0.0.0-pr-<run> everything, dry run
99
#
@@ -20,6 +20,10 @@ case "$GITHUB_EVENT_NAME:$GITHUB_REF:$versioned" in
2020
*) die "$GITHUB_EVENT_NAME on $GITHUB_REF cannot publish (versioned: $versioned)" ;;
2121
esac
2222

23+
if [ "$channel" = latest ] && [ -z "${INPUT_RELEASE_NOTES//[[:space:]]/}" ]; then
24+
die "Stable releases need release notes; generate them with ./script/release.ts --print"
25+
fi
26+
2327
if [ "$channel" = latest ]; then
2428
actor=${GITHUB_TRIGGERING_ACTOR:-${GITHUB_ACTOR:-}}
2529
[ -n "$actor" ] || die "Stable releases can only be started by releasers; the triggering actor is unknown"
Collapse file

‎.github/release/publish-discord.sh‎

Copy file name to clipboardExpand all lines: .github/release/publish-discord.sh
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ payload=$(jq -n --arg tag "$tag" --arg notes "${OPENCODE_RELEASE_NOTES:-}" \
99
($notes | if length > 4000 then .[:4000] + "\n\n[Full release notes](\($url))" else . end) as $description |
1010
{
1111
allowed_mentions: {parse: []},
12-
embeds: [{title: "OpenCode V2 \($tag)", url: $url, color: 2829099} + if $description == "" then {} else {description: $description} end]
12+
embeds: [{title: "OpenCode V2 \($tag)", url: $url, description: $description, color: 2829099}]
1313
}')
1414
echo "$payload" | jq .
1515
if dry_run; then exit 0; fi
Collapse file

‎.github/workflows/release.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/release.yml
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ on:
2424
required: false
2525
type: string
2626
release_notes:
27-
description: "Reviewed V2 release notes for CHANGELOG.md and the GitHub release (optional)"
27+
description: "Reviewed V2 release notes for CHANGELOG.md and the GitHub release (required with bump or version)"
2828
required: false
2929
type: string
3030

@@ -72,6 +72,7 @@ jobs:
7272
GH_TOKEN: ${{ github.token }} # reads the triggering actor's repository role for stable releases
7373
INPUT_BUMP: ${{ inputs.bump }}
7474
INPUT_VERSION: ${{ inputs.version }}
75+
INPUT_RELEASE_NOTES: ${{ inputs.release_notes }}
7576

7677
# A versioned release builds from a commit with its versions and changelog on the dispatched dev commit,
7778
# tagged v<version>. Runs git only.
Collapse file

‎.gitignore‎

Copy file name to clipboardExpand all lines: .gitignore
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ target
3131

3232
# Local dev files
3333
opencode-dev
34-
UPCOMING_CHANGELOG.md
3534
RELEASE_REVIEW.md
3635
logs/
3736
*.bun-build
Collapse file

‎.opencode/command/changelog.md‎

Copy file name to clipboardExpand all lines: .opencode/command/changelog.md
-49Lines changed: 0 additions & 49 deletions
This file was deleted.
Collapse file

‎script/changelog.ts‎

Copy file name to clipboardExpand all lines: script/changelog.ts
-76Lines changed: 0 additions & 76 deletions
This file was deleted.

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.