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 8124555 commit 841f668Copy full SHA for 841f668
.github/workflows/ci.yaml
@@ -46,3 +46,14 @@ jobs:
46
config-file: .github/release-config.json
47
manifest-file: .github/release-manifest.json
48
token: ${{ secrets.GITHUB_TOKEN }}
49
+ - name: Configure version
50
+ if: ${{ steps.release.outputs.prs_created }}
51
+ run: |
52
+ version=${{ steps.release.outputs.tag_name }}
53
+ version=${version#v}
54
+ sed -i "s/unfunco\/anthropic-sdk-go@v[0-9]*\.[0-9]*\.[0-9]*/unfunco\/anthropic-sdk-go@v$version/" anthropic.go
55
+ git config user.name "David Letterman"
56
+ git config user.email "48985810+david-letterman@users.noreply.github.com"
57
+ git add anthropic.go
58
+ git commit -m "Configure version number"
59
+ git push
0 commit comments