Skip to content

Commit b197767

Browse files
committed
chore(release): publish 0.1.1-beta.7
1 parent ba90f02 commit b197767

3 files changed

Lines changed: 24 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,21 @@ jobs:
4545
exit 1
4646
fi
4747
- run: npm publish --access public --tag "${{ steps.meta.outputs.dist_tag }}"
48-
- uses: softprops/action-gh-release@v2
49-
with:
50-
generate_release_notes: true
51-
prerelease: ${{ steps.meta.outputs.prerelease }}
48+
- name: Create GitHub release
49+
shell: bash
50+
env:
51+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52+
PRERELEASE: ${{ steps.meta.outputs.prerelease }}
53+
run: |
54+
if gh release view "$GITHUB_REF_NAME" >/dev/null 2>&1; then
55+
echo "GitHub release for $GITHUB_REF_NAME already exists."
56+
exit 0
57+
fi
58+
59+
args=(release create "$GITHUB_REF_NAME" --verify-tag --generate-notes)
60+
61+
if [[ "$PRERELEASE" == "true" ]]; then
62+
args+=(--prerelease)
63+
fi
64+
65+
gh "${args[@]}"

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 0.1.1-beta.7
4+
5+
- replace `softprops/action-gh-release@v2` with `gh release create` in the release workflow
6+
- avoid the GitHub Actions Node 20 deprecation warning from the release step
7+
38
## 0.1.1-beta.6
49

510
- let users replace the plugin's base `agent.plan.prompt` instead of appending to it

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "opencode-planner",
3-
"version": "0.1.1-beta.6",
3+
"version": "0.1.1-beta.7",
44
"description": "Experimental OpenCode plugin that adds a dedicated planning agent with read-only planning constraints.",
55
"type": "module",
66
"author": "Tim Richardson",

0 commit comments

Comments
 (0)