Skip to content

Commit 1e81bb6

Browse files
authored
chore: release 0.0.3 (#13)
- Allow instructions and skills versioning - Bump version to 0.0.3 in package.json. - Update README to reflect the new plugin version. - Add GitHub Actions workflow for publishing the package.
1 parent a9c807e commit 1e81bb6

4 files changed

Lines changed: 37 additions & 4 deletions

File tree

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Publish public Package version
2+
3+
on:
4+
workflow_dispatch:
5+
repository_dispatch:
6+
types: [publish-package-as-is]
7+
8+
permissions:
9+
id-token: write
10+
contents: read
11+
12+
jobs:
13+
publish:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
with:
18+
fetch-depth: 0
19+
fetch-tags: true
20+
21+
- uses: jdx/mise-action@d6e32c1796099e0f1f3ac741c220a8b7eae9e5dd
22+
with:
23+
install: true
24+
cache: true
25+
experimental: true
26+
27+
- name: Build
28+
run: mise run build
29+
30+
- name: Publish to npm with OIDC
31+
run: |
32+
echo "Publishing version as is"
33+
mise run publish

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Preferably set the plugin globally for all their developers using the Opencode r
2727
The plugin configuration looks like this:
2828
```
2929
"plugin": [
30-
"@jfrog/opencode-jfrog-plugin@0.0.2"
30+
"@jfrog/opencode-jfrog-plugin@0.0.3"
3131
],
3232
```
3333

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@jfrog/opencode-jfrog-plugin",
3-
"version": "0.0.2",
3+
"version": "0.0.3",
44
"description": "JFrog Plugin for seamless integration to Opencode",
55
"author": {
66
"name": "JFrog",

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ import { dirname, join } from 'path';
1717
const LOG_FILE = join(process.cwd(), '.opencode', 'event-log.txt');
1818
const SKILLS_REGISTRY_URL = 'https://releases.jfrog.io/artifactory/jfrog-skills';
1919
const INSTRUCTIONS_REGISTRY_URL =
20-
'https://releases.jfrog.io/artifactory/run/ai/integrations/opencode/JFROG-INTEGRATION-MANAGEMENT.md';
20+
'https://releases.jfrog.io/artifactory/run/ai/integrations/opencode/opencode-JFROG-INTEGRATION-MANAGEMENT-[RELEASE].md';
2121
const SKILLS_TO_INSTALL_URL =
22-
'https://releases.jfrog.io/artifactory/run/ai/integrations/opencode/JFROG-OPENCODE_SKILLS.json';
22+
'https://releases.jfrog.io/artifactory/run/ai/integrations/opencode/opencode-JFROG-OPENCODE_SKILLS-[RELEASE].json';
2323

2424
const fetchAndSaveFile = async (
2525
url: string,

0 commit comments

Comments
 (0)