We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87b0235 commit c36e2f5Copy full SHA for c36e2f5
.github/workflows/publish.yaml
@@ -37,8 +37,14 @@ jobs:
37
38
- name: Set Version from Tag
39
run: |
40
- VERSION=${GITHUB_REF#refs/tags/}
41
- npm version $VERSION --no-git-tag-version
+ set -x # Show each command as it's run
+ VERSION=${GITHUB_REF#refs/tags/v}
42
+ echo "Setting version to $VERSION"
43
+ npm version "$VERSION" --no-git-tag-version || {
44
+ echo "❌ npm version failed, showing log:"
45
+ cat /home/runner/.npm/_logs/*.log || echo "No log found"
46
+ exit 1
47
+ }
48
working-directory: packages/agent-sdk
49
50
- name: Configure NPM Authentication
0 commit comments