Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ jobs:
contents: write

steps:
- name: Verify main branch
run: |
if [[ "${{ github.ref_name }}" != "main" ]]; then
echo "Release can only be done on the main branch."
exit 1
fi

- name: Checkout project
uses: actions/checkout@v4

Expand Down Expand Up @@ -51,9 +58,10 @@ jobs:
echo "version=${VERSION}" >> $GITHUB_OUTPUT

- name: Create release
uses: ncipollo/release-action@v1
uses: caido/action-release@v1
with:
tag: ${{ steps.meta.outputs.version }}
commit: ${{ github.sha }}
body: 'Release ${{ steps.meta.outputs.version }}'
artifacts: 'dist/plugin_package.zip,dist/plugin_package.zip.sig'
immutableCreate: true
2 changes: 1 addition & 1 deletion caido.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default defineConfig({
id,
name: "Data Grep",
description: "Extract data from your requests and responses",
version: "1.2.2",
version: "1.2.3",
author: {
name: "Caido Labs Inc.",
email: "dev@caido.io",
Expand Down
Loading