gm-oc 2.0.399 → 2.0.401

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -31,7 +31,14 @@ jobs:
31
31
  fi
32
32
 
33
33
  echo "Publishing $PACKAGE@$VERSION..."
34
- npm publish --access public
34
+ npm publish --access public 2>&1 | tee /tmp/npm-out.log; EXIT=${PIPESTATUS[0]}
35
+ if [ "$EXIT" != "0" ]; then
36
+ if grep -q "cannot publish over\|previously published" /tmp/npm-out.log; then
37
+ echo "⚠️ Version already published, skipping"
38
+ else
39
+ exit "$EXIT"
40
+ fi
41
+ fi
35
42
  echo "✅ Published $PACKAGE@$VERSION"
36
43
  env:
37
44
  NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-oc",
3
- "version": "2.0.399",
3
+ "version": "2.0.401",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "author": "AnEntrypoint",
6
6
  "license": "MIT",