Skip to content

Commit 472fd08

Browse files
authored
Merge pull request #275 from aperture-data/release-0.4.7
Release 0.4.7
2 parents 9f1cdde + 7a1337d commit 472fd08

File tree

3 files changed

+20
-4
lines changed

3 files changed

+20
-4
lines changed

.github/workflows/main.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,4 +121,20 @@ jobs:
121121
-H "X-GitHub-Api-Version: 2022-11-28" \
122122
-d '{"ref":"master","inputs":{}}'
123123
124-
shell: bash
124+
shell: bash
125+
126+
trigger_docs_deploy:
127+
runs-on: ubuntu-latest
128+
needs:
129+
- build_and_deploy_docs
130+
steps:
131+
- uses: actions/checkout@v3
132+
- name: repository dispatch
133+
run: |
134+
curl -X POST https://api.github.com/repos/aperture-data/docs/actions/workflows/64451786/dispatches \
135+
-H "Accept: application/vnd.github+json" \
136+
-H "Authorization: Bearer ${{ secrets.GITHUBPAT }}" \
137+
-H "X-GitHub-Api-Version: 2022-11-28" \
138+
-d '{"ref":"master","inputs":{}}'
139+
140+
shell: bash

aperturedb/cli/__init__.py

Whitespace-only changes.

github-release.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ create_release() {
1717

1818
command="curl -s -o release.json -w '%{http_code}' \
1919
--request POST \
20-
--header 'Accept: application/vnd.github.v3+json' \
21-
--header 'Authorization: token ${token}' \
22-
--header 'content-type: application/json' \
20+
--header 'Accept: application/vnd.github+json' \
21+
--header 'Authorization: Bearer ${token}' \
22+
--header 'X-GitHub-Api-Version: 2022-11-28' \
2323
--data '{\"tag_name\": \"${tag}\", \"name\": \"${tag}\", \"body\":\"Release ${tag}\"}' \
2424
https://api.github.com/repos/$user/$repo/releases"
2525
http_code=`eval $command`

0 commit comments

Comments
 (0)