-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (31 loc) · 933 Bytes
/
release.yml
File metadata and controls
37 lines (31 loc) · 933 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Release
on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created }}
- name: Create archive
if: ${{ steps.release.outputs.release_created }}
run: |
tar -czvf planetscale-vscode-agent-plugin.tar.gz \
plugin.json \
.github/plugin/plugin.json \
.mcp.json \
skills/
- name: Upload release asset
if: ${{ steps.release.outputs.release_created }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload ${{ steps.release.outputs.tag_name }} planetscale-vscode-agent-plugin.tar.gz