fix: resolve Cubic review issues - workflow YAML, issue templates, stale references

This commit is contained in:
YeonGyu-Kim
2026-03-18 12:37:21 +09:00
parent f60c784d43
commit 60e1f6d580
9 changed files with 21 additions and 10 deletions
+2
View File
@@ -152,6 +152,7 @@ jobs:
VERSION="${{ inputs.version }}"
if [ -z "$VERSION" ]; then
PREV=$(curl -s https://registry.npmjs.org/oh-my-openagent/latest | jq -r '.version // "0.0.0"')
BASE="${PREV%%-*}"
IFS='.' read -r MAJOR MINOR PATCH <<< "$BASE"
case "${{ inputs.bump }}" in
major) VERSION="$((MAJOR+1)).0.0" ;;
@@ -173,6 +174,7 @@ jobs:
- name: Check if already published
id: check
run: |
VERSION="${{ steps.version.outputs.version }}"
STATUS=$(curl -s -o /dev/null -w "%{http_code}" "https://registry.npmjs.org/oh-my-openagent/${VERSION}")
if [ "$STATUS" = "200" ]; then
echo "skip=true" >> $GITHUB_OUTPUT