File tree 6 files changed +60
-3
lines changed
6 files changed +60
-3
lines changed Original file line number Diff line number Diff line change 30
30
- name : Run lints
31
31
run : ./scripts/lint
32
32
33
+ upload :
34
+ if : github.repository == 'stainless-sdks/runwayml-python'
35
+ timeout-minutes : 10
36
+ name : upload
37
+ permissions :
38
+ contents : read
39
+ id-token : write
40
+ runs-on : depot-ubuntu-24.04
41
+ steps :
42
+ - uses : actions/checkout@v4
43
+
44
+ - name : Get GitHub OIDC Token
45
+ id : github-oidc
46
+ uses : actions/github-script@v6
47
+ with :
48
+ script : core.setOutput('github_token', await core.getIDToken());
49
+
50
+ - name : Upload tarball
51
+ env :
52
+ URL : https://pkg.stainless.com/s
53
+ AUTH : ${{ steps.github-oidc.outputs.github_token }}
54
+ SHA : ${{ github.sha }}
55
+ run : ./scripts/utils/upload-artifact.sh
56
+
33
57
test :
34
58
timeout-minutes : 10
35
59
name : test
Original file line number Diff line number Diff line change 1
1
{
2
- "." : " 3.0.5 "
2
+ "." : " 3.0.6 "
3
3
}
Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 3.0.6 (2025-05-15)
4
+
5
+ Full Changelog: [ v3.0.5...v3.0.6] ( https://github.com/runwayml/sdk-python/compare/v3.0.5...v3.0.6 )
6
+
7
+ ### Chores
8
+
9
+ * ** ci:** upload sdks to package manager ([ 23f0756] ( https://github.com/runwayml/sdk-python/commit/23f0756b5a8828ffa8477c51275df65f390193a7 ) )
10
+
3
11
## 3.0.5 (2025-05-10)
4
12
5
13
Full Changelog: [ v3.0.4...v3.0.5] ( https://github.com/runwayml/sdk-python/compare/v3.0.4...v3.0.5 )
Original file line number Diff line number Diff line change 1
1
[project ]
2
2
name = " runwayml"
3
- version = " 3.0.5 "
3
+ version = " 3.0.6 "
4
4
description = " The official Python library for the runwayml API"
5
5
dynamic = [" readme" ]
6
6
license = " Apache-2.0"
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ set -exuo pipefail
3
+
4
+ RESPONSE=$( curl -X POST " $URL " \
5
+ -H " Authorization: Bearer $AUTH " \
6
+ -H " Content-Type: application/json" )
7
+
8
+ SIGNED_URL=$( echo " $RESPONSE " | jq -r ' .url' )
9
+
10
+ if [[ " $SIGNED_URL " == " null" ]]; then
11
+ echo -e " \033[31mFailed to get signed URL.\033[0m"
12
+ exit 1
13
+ fi
14
+
15
+ UPLOAD_RESPONSE=$( tar -cz . | curl -v -X PUT \
16
+ -H " Content-Type: application/gzip" \
17
+ --data-binary @- " $SIGNED_URL " 2>&1 )
18
+
19
+ if echo " $UPLOAD_RESPONSE " | grep -q " HTTP/[0-9.]* 200" ; then
20
+ echo -e " \033[32mUploaded build to Stainless storage.\033[0m"
21
+ echo -e " \033[32mInstallation: npm install 'https://pkg.stainless.com/s/runwayml-python/$SHA '\033[0m"
22
+ else
23
+ echo -e " \033[31mFailed to upload artifact.\033[0m"
24
+ exit 1
25
+ fi
Original file line number Diff line number Diff line change 1
1
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
3
3
__title__ = "runwayml"
4
- __version__ = "3.0.5 " # x-release-please-version
4
+ __version__ = "3.0.6 " # x-release-please-version
You can’t perform that action at this time.
0 commit comments