3737 - uses : actions/setup-node@v4
3838 with :
3939 node-version : 22
40+ - name : version
41+ run : |
42+ cd ${{ github.workspace }}/vscode-extensions/${{ inputs.extension-name }}
43+ version=$(npm pkg get version)
44+ cd ${{ github.workspace }}
45+ echo $version
46+ echo "version=$version" >> $GITHUB_OUTPUT
4047 - name : Build .VSIX file
4148 id : build-vsix
4249 env :
@@ -51,17 +58,17 @@ jobs:
5158 echo "VSIX file to upload ${vsix_file}"
5259 s3_path=snapshot/vscode-extensions/${{ inputs.extension-name }}
5360 echo "S3 path: ${s3_path}"
54- aws s3 rm s3://$AWS_S3_BUCKET/$s3_path/ --recursive
61+ aws s3 rm s3://$AWS_S3_BUCKET/$s3_path/ --recursive --exclude "*" --include "${{ inputs.extension-name }}-${{ steps.version.outputs.version }}*.vsix"
5562 aws s3 cp ./vsix/$vsix_file s3://$AWS_S3_BUCKET/$s3_path/$vsix_file --no-progress --checksum-algorithm CRC32
5663 - name : Update Nightly Builds download page
5764 run : |
5865 downloads_html="vscode-extensions-snippet.html"
5966 echo '<ul>' >> $downloads_html
60- echo `${{ github.workspace }}/.github/scripts/gen-vscode-link-bullet.sh vscode-spring-boot "Spring Boot Tools" $DOWNLOAD_URL_ROOT` >> $downloads_html
61- echo `${{ github.workspace }}/.github/scripts/gen-vscode-link-bullet.sh vscode-concourse "Concourse Editor" $DOWNLOAD_URL_ROOT` >> $downloads_html
62- echo `${{ github.workspace }}/.github/scripts/gen-vscode-link-bullet.sh vscode-bosh "Bosh Editor" $DOWNLOAD_URL_ROOT` >> $downloads_html
63- echo `${{ github.workspace }}/.github/scripts/gen-vscode-link-bullet.sh vscode-manifest-yaml "CF Manifest Editor" $DOWNLOAD_URL_ROOT` >> $downloads_html
64- echo `${{ github.workspace }}/.github/scripts/gen-vscode-link-bullet.sh vscode-spring-cli "Spring CLI" $DOWNLOAD_URL_ROOT` >> $downloads_html
67+ echo `${{ github.workspace }}/.github/scripts/gen-vscode-link-bullet.sh vscode-spring-boot "Spring Boot Tools" $DOWNLOAD_URL_ROOT ${{ steps.version.outputs.version }} ` >> $downloads_html
68+ echo `${{ github.workspace }}/.github/scripts/gen-vscode-link-bullet.sh vscode-concourse "Concourse Editor" $DOWNLOAD_URL_ROOT ${{ steps.version.outputs.version }} ` >> $downloads_html
69+ echo `${{ github.workspace }}/.github/scripts/gen-vscode-link-bullet.sh vscode-bosh "Bosh Editor" $DOWNLOAD_URL_ROOT ${{ steps.version.outputs.version }} ` >> $downloads_html
70+ echo `${{ github.workspace }}/.github/scripts/gen-vscode-link-bullet.sh vscode-manifest-yaml "CF Manifest Editor" $DOWNLOAD_URL_ROOT ${{ steps.version.outputs.version }} ` >> $downloads_html
71+ echo `${{ github.workspace }}/.github/scripts/gen-vscode-link-bullet.sh vscode-spring-cli "Spring CLI" $DOWNLOAD_URL_ROOT ${{ steps.version.outputs.version }} ` >> $downloads_html
6572 echo '</ul>' >> $downloads_html
6673 cat ./$downloads_html
6774 aws s3 mv ./$downloads_html s3://$AWS_S3_BUCKET/snapshot/vscode-extensions/ --no-progress --checksum-algorithm CRC32
0 commit comments