Skip to content

Commit 10d667e

Browse files
committed
Fix release
1 parent 8acb6f7 commit 10d667e

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ jobs:
1515
contents: write
1616

1717
steps:
18+
- name: Verify main branch
19+
run: |
20+
if [[ "${{ github.ref_name }}" != "main" ]]; then
21+
echo "Release can only be done on the main branch."
22+
exit 1
23+
fi
24+
1825
- name: Checkout project
1926
uses: actions/checkout@v4
2027

@@ -51,9 +58,10 @@ jobs:
5158
echo "version=${VERSION}" >> $GITHUB_OUTPUT
5259
5360
- name: Create release
54-
uses: ncipollo/release-action@v1
61+
uses: caido/action-release@v1
5562
with:
5663
tag: ${{ steps.meta.outputs.version }}
5764
commit: ${{ github.sha }}
5865
body: 'Release ${{ steps.meta.outputs.version }}'
5966
artifacts: 'dist/plugin_package.zip,dist/plugin_package.zip.sig'
67+
immutableCreate: true

caido.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default defineConfig({
1111
id,
1212
name: "Notes++",
1313
description: "Create and edit notes in Caido",
14-
version: "2.3.0",
14+
version: "2.3.1",
1515
author: {
1616
name: "_StaticFlow_",
1717
email: "tanner.barnes@kashx.io",

0 commit comments

Comments
 (0)