Skip to content

Commit

Permalink
ci: release pipeline
Browse files Browse the repository at this point in the history
Signed-off-by: Nico Braun <[email protected]>
  • Loading branch information
bluebrown committed Jul 26, 2023
1 parent 745594b commit 031dbda
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ rid="$(curl -fsSL \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer $GITHUB_TOKEN" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/bluebrown/vscode-extension-yamlfmt/releases \
https://api.github.com/repos/bluebrown/kobold/releases \
-d '{ "tag_name":"'"$VERSION"'", "generate_release_notes": true, "prerelease": '"${pre:-false}"' }' |
jq -r '.id')"

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,6 @@ jobs:

- name: Create a github release
run: make github-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PRE_RELEASE: ${{ github.event.inputs.preRelease == 'true' && '1' || '0' }}

0 comments on commit 031dbda

Please sign in to comment.