File tree Expand file tree Collapse file tree 2 files changed +35
-1
lines changed
Expand file tree Collapse file tree 2 files changed +35
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Release Python SDK
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ version :
7+ description : " The version of the SDK that you would like to release"
8+ required : true
9+ type : string
10+
11+ jobs :
12+ release :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Checkout repo
16+ uses : actions/checkout@v3
17+
18+ - name : Setup node
19+ uses : actions/setup-node@v4
20+
21+ - name : Download Fern
22+ run : npm install -g fern-api
23+
24+ - name : Release SDKs
25+ env :
26+ FERN_TOKEN : ${{ secrets.FERN_TOKEN }}
27+ FERN_PYPI_TOKEN : ${{ secrets.FERN_PYPI_TOKEN }}
28+ run : |
29+ fern generate --group python-sdk --version ${{ inputs.version }} --log-level debug
Original file line number Diff line number Diff line change @@ -71,8 +71,13 @@ groups:
7171 version : 4.22.0
7272 github :
7373 mode : pull-request
74- repository : fern-demo /intercom-python-sdk
74+ repository : intercom /intercom-python
7575 config :
7676 client_class_name : Intercom
7777 pydantic_config :
7878 skip_validation : true
79+ output :
80+ location : pypi
81+ package-name : ' intercom-python'
82+ token : ${FERN_PYPI_TOKEN}
83+
You can’t perform that action at this time.
0 commit comments