Include Spring CLI extension into the build process
This commit is contained in:
@@ -18,12 +18,17 @@ export vscode_concourse=$(basename s3-concourse-vsix-${dist_type}/*.vsix)
|
||||
echo "vscode_concourse=$vscode_concourse"
|
||||
export vscode_bosh=$(basename s3-bosh-vsix-${dist_type}/*.vsix)
|
||||
echo "vscode_bosh=$vscode_bosh"
|
||||
export vscode_spring_cli=$(basename s3-spring-cli-vsix-${dist_type}/*.vsix)
|
||||
echo "vscode_spring_cli=$vscode_spring_cli"
|
||||
|
||||
envsubst > "$target/vscode-extensions-snippet.html" << XXXXXX
|
||||
<ul>
|
||||
<li>Spring Boot Language Server:
|
||||
<a href="https://s3-us-west-1.amazonaws.com/s3-test.spring.io/sts4/vscode-extensions/${dist_type}s/${vscode_spring_boot}">${vscode_spring_boot}</a>
|
||||
</li>
|
||||
<li>Spring CLI:
|
||||
<a href="https://s3-us-west-1.amazonaws.com/s3-test.spring.io/sts4/vscode-extensions/${dist_type}s/${vscode_spring_cli}">${vscode_spring_cli}</a>
|
||||
</li>
|
||||
<li>Cloud Foundry Manifest Language Server:
|
||||
<a href="https://s3-us-west-1.amazonaws.com/s3-test.spring.io/sts4/vscode-extensions/${dist_type}s/${vscode_manifest_yaml}">${vscode_manifest_yaml}</a>
|
||||
</li>
|
||||
|
||||
@@ -2,6 +2,7 @@ inputs:
|
||||
- name: sts4
|
||||
- name: s3-manifest-yaml-vsix-snapshot
|
||||
- name: s3-spring-boot-vsix-snapshot
|
||||
- name: s3-spring-cli-vsix-snapshot
|
||||
- name: s3-concourse-vsix-snapshot
|
||||
- name: s3-bosh-vsix-snapshot
|
||||
outputs:
|
||||
|
||||
@@ -38,7 +38,10 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
./scripts/preinstall.sh
|
||||
if [ -f "./scripts/preinstall.sh" ]; then
|
||||
./scripts/preinstall.sh
|
||||
fi
|
||||
|
||||
npm install
|
||||
#npm audit
|
||||
if [ "$dist_type" = pre ]; then
|
||||
|
||||
@@ -3,6 +3,7 @@ inputs:
|
||||
- name: concourse-vsix
|
||||
- name: manifest-yaml-vsix
|
||||
- name: spring-boot-vsix
|
||||
- name: spring-cli-vsix
|
||||
- name: sts4
|
||||
- name: sts4-wiki
|
||||
outputs:
|
||||
|
||||
@@ -4,6 +4,7 @@ inputs:
|
||||
- name: s3-concourse-vsix-snapshot
|
||||
- name: s3-bosh-vsix-snapshot
|
||||
- name: s3-spring-boot-vsix-snapshot
|
||||
- name: s3-spring-cli-vsix-snapshot
|
||||
platform: linux
|
||||
run:
|
||||
path: sts4/concourse/tasks/publish-ovsx-releases.sh
|
||||
|
||||
@@ -4,6 +4,7 @@ inputs:
|
||||
- name: s3-concourse-vsix-snapshot
|
||||
- name: s3-bosh-vsix-snapshot
|
||||
- name: s3-spring-boot-vsix-snapshot
|
||||
- name: s3-spring-cli-vsix-snapshot
|
||||
platform: linux
|
||||
run:
|
||||
path: sts4/concourse/tasks/publish-vsix-releases.sh
|
||||
|
||||
@@ -34,7 +34,9 @@ echo -e "\n\n*Version: ${version}*" >> README.md
|
||||
# npm install
|
||||
|
||||
cd "$sources"
|
||||
./scripts/preinstall.sh
|
||||
if [ -f "./scripts/preinstall.sh" ]; then
|
||||
./scripts/preinstall.sh
|
||||
fi
|
||||
npm install
|
||||
npm run vsce-package
|
||||
|
||||
|
||||
Reference in New Issue
Block a user