mirror of
https://github.com/lukaszraczylo/claude-mnemonic.git
synced 2026-10-19 06:18:13 +00:00
Fix the release jsons conflicts
This commit is contained in:
+8
-10
@@ -14,15 +14,9 @@ before:
|
|||||||
- bash -c "sed 's/{{ .Version }}/{{ .Version }}/g' ui/package.json.tpl > ui/package.json"
|
- bash -c "sed 's/{{ .Version }}/{{ .Version }}/g' ui/package.json.tpl > ui/package.json"
|
||||||
- bash -c "cd ui && npm ci --silent && npm run build"
|
- bash -c "cd ui && npm ci --silent && npm run build"
|
||||||
- bash -c "rm -rf internal/worker/static && mkdir -p internal/worker/static && cp -r ui/dist/* internal/worker/static/"
|
- bash -c "rm -rf internal/worker/static && mkdir -p internal/worker/static && cp -r ui/dist/* internal/worker/static/"
|
||||||
|
# Generate plugin config files (must be before archives, using GORELEASER_CURRENT_TAG)
|
||||||
# Generate versioned plugin configuration files (GoReleaser Pro)
|
- bash -c "mkdir -p .claude-plugin && VERSION=${GORELEASER_CURRENT_TAG#v} && sed \"s/{{.Version}}/$VERSION/g; s/{{ .Version }}/$VERSION/g\" plugin/.claude-plugin/plugin.json.tpl > .claude-plugin/plugin.json"
|
||||||
template_files:
|
- bash -c "VERSION=${GORELEASER_CURRENT_TAG#v} && sed \"s/{{.Version}}/$VERSION/g; s/{{ .Version }}/$VERSION/g\" plugin/.claude-plugin/marketplace.json.tpl > .claude-plugin/marketplace.json"
|
||||||
- id: plugin-json
|
|
||||||
src: plugin/.claude-plugin/plugin.json.tpl
|
|
||||||
dst: .claude-plugin/plugin.json
|
|
||||||
- id: marketplace-json
|
|
||||||
src: plugin/.claude-plugin/marketplace.json.tpl
|
|
||||||
dst: .claude-plugin/marketplace.json
|
|
||||||
|
|
||||||
builds:
|
builds:
|
||||||
# Worker service
|
# Worker service
|
||||||
@@ -238,7 +232,7 @@ archives:
|
|||||||
{{- .Os }}_
|
{{- .Os }}_
|
||||||
{{- .Arch }}
|
{{- .Arch }}
|
||||||
files:
|
files:
|
||||||
- src: dist/.claude-plugin/*
|
- src: .claude-plugin/*
|
||||||
dst: .claude-plugin
|
dst: .claude-plugin
|
||||||
strip_parent: true
|
strip_parent: true
|
||||||
- src: plugin/hooks/hooks.json
|
- src: plugin/hooks/hooks.json
|
||||||
@@ -269,6 +263,10 @@ release:
|
|||||||
draft: false
|
draft: false
|
||||||
prerelease: auto
|
prerelease: auto
|
||||||
name_template: "v{{.Version}}"
|
name_template: "v{{.Version}}"
|
||||||
|
# Upload plugin config files
|
||||||
|
extra_files:
|
||||||
|
- glob: .claude-plugin/plugin.json
|
||||||
|
- glob: .claude-plugin/marketplace.json
|
||||||
header: |
|
header: |
|
||||||
## Claude Mnemonic v{{.Version}}
|
## Claude Mnemonic v{{.Version}}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user