mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 12:21:13 -05:00
Fix Package Publish Workflow (#11)
* fixing access to codeartifact login script * adjust namespace to match other Roo packages * addling line to install vsce to Github action * removing namespace as it is not valid for extension name * version bump * updating package-lock and doing full install for publish action * update workflow package install steps * update package install steps
This commit is contained in:
6
.github/workflows/npm-publish.yml
vendored
6
.github/workflows/npm-publish.yml
vendored
@@ -31,8 +31,9 @@ jobs:
|
|||||||
git config user.name github-actions
|
git config user.name github-actions
|
||||||
git config user.email github-actions@github.com
|
git config user.email github-actions@github.com
|
||||||
- run: |
|
- run: |
|
||||||
|
npm install -g vsce
|
||||||
npm run co:login
|
npm run co:login
|
||||||
latest_published_version=$(npm show @roo-dev/roo-cline version)
|
latest_published_version=$(npm show roo-cline version)
|
||||||
current_package_version=$(node -p "require('./package.json').version")
|
current_package_version=$(node -p "require('./package.json').version")
|
||||||
echo "Latest published version: $latest_published_version"
|
echo "Latest published version: $latest_published_version"
|
||||||
echo "Current package version: $current_package_version"
|
echo "Current package version: $current_package_version"
|
||||||
@@ -40,6 +41,9 @@ jobs:
|
|||||||
echo "Latest version is already published to NPM"
|
echo "Latest version is already published to NPM"
|
||||||
else
|
else
|
||||||
npm install
|
npm install
|
||||||
|
cd webview-ui
|
||||||
|
npm install
|
||||||
|
cd ..
|
||||||
npm run vsix
|
npm run vsix
|
||||||
npm publish
|
npm publish
|
||||||
echo "Successfully published to NPM"
|
echo "Successfully published to NPM"
|
||||||
|
|||||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "roo-cline",
|
"name": "roo-cline",
|
||||||
"version": "2.0.1",
|
"version": "2.0.2",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "roo-cline",
|
"name": "roo-cline",
|
||||||
"version": "2.0.1",
|
"version": "2.0.2",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@anthropic-ai/bedrock-sdk": "^0.10.2",
|
"@anthropic-ai/bedrock-sdk": "^0.10.2",
|
||||||
"@anthropic-ai/sdk": "^0.26.0",
|
"@anthropic-ai/sdk": "^0.26.0",
|
||||||
|
|||||||
0
scripts/codeartifact-login.sh
Normal file → Executable file
0
scripts/codeartifact-login.sh
Normal file → Executable file
Reference in New Issue
Block a user