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
33 changes: 33 additions & 0 deletions .github/workflows/publish-as-is.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Publish public Package version

on:
workflow_dispatch:
repository_dispatch:
types: [publish-package-as-is]

permissions:
id-token: write
contents: read

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true

- uses: jdx/mise-action@d6e32c1796099e0f1f3ac741c220a8b7eae9e5dd
with:
install: true
cache: true
experimental: true

- name: Build
run: mise run build

- name: Publish to npm with OIDC
run: |
echo "Publishing version as is"
mise run publish
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Preferably set the plugin globally for all their developers using the Opencode r
The plugin configuration looks like this:
```
"plugin": [
"@jfrog/opencode-jfrog-plugin@0.0.2"
"@jfrog/opencode-jfrog-plugin@0.0.3"
],
```

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jfrog/opencode-jfrog-plugin",
"version": "0.0.2",
"version": "0.0.3",
"description": "JFrog Plugin for seamless integration to Opencode",
"author": {
"name": "JFrog",
Expand Down
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ import { dirname, join } from 'path';
const LOG_FILE = join(process.cwd(), '.opencode', 'event-log.txt');
const SKILLS_REGISTRY_URL = 'https://releases.jfrog.io/artifactory/jfrog-skills';
const INSTRUCTIONS_REGISTRY_URL =
'https://releases.jfrog.io/artifactory/run/ai/integrations/opencode/JFROG-INTEGRATION-MANAGEMENT.md';
'https://releases.jfrog.io/artifactory/run/ai/integrations/opencode/opencode-JFROG-INTEGRATION-MANAGEMENT-[RELEASE].md';
const SKILLS_TO_INSTALL_URL =
'https://releases.jfrog.io/artifactory/run/ai/integrations/opencode/JFROG-OPENCODE_SKILLS.json';
'https://releases.jfrog.io/artifactory/run/ai/integrations/opencode/opencode-JFROG-OPENCODE_SKILLS-[RELEASE].json';

const fetchAndSaveFile = async (
url: string,
Expand Down
Loading