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
1 change: 1 addition & 0 deletions .github/workflows/prepare_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jobs:
}
update_json packages/cli/package.json
update_json packages/core/package.json
update_json packages/prompts/package.json
update_toml packages/cli/binding/Cargo.toml
update_toml crates/vp_global_cli/Cargo.toml

Expand Down
20 changes: 18 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,12 @@ jobs:
pattern: core
merge-multiple: true

- name: Download prompts dist
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: prompts
path: packages/prompts/dist

- name: Download LICENSE files
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
Expand Down Expand Up @@ -164,6 +170,13 @@ jobs:
- name: Prepare and publish native addons
run: node ./packages/cli/publish-native-addons.ts --mode npm

- name: Publish prompts
run: >-
node ./.github/scripts/publish-npm-package.ts
"@voidzero-dev/vite-plus-prompts@${VERSION}"
--
pnpm publish --filter=./packages/prompts --tag latest --access public --no-git-checks

- name: Publish core dependency tier
run: >-
node ./.github/scripts/publish-npm-package.ts
Expand All @@ -186,8 +199,11 @@ jobs:
pnpm publish --filter=./packages/cli --tag latest --access public --no-git-checks

# Downstream jobs build Docker images by installing this release from npm.
- name: Wait for Vite+ to propagate
run: node ./.github/scripts/wait-for-npm-packages.ts "vite-plus@${VERSION}"
- name: Wait for published packages to propagate
run: >-
node ./.github/scripts/wait-for-npm-packages.ts
"vite-plus@${VERSION}"
"@voidzero-dev/vite-plus-prompts@${VERSION}"

- name: Create release body
env:
Expand Down
Loading