Skip to content
Snippets Groups Projects
Commit c588f230 authored by Alexandra's avatar Alexandra
Browse files

feat: add sha commit to vsix plugin builds

parent 05fbda7d
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,8 @@ recorder-out/*
!recorder-out/webpack.config.js
plugins/**/*.vsix
!plugins/gitlens-*.vsix
deadlock-plugins/**/*.vsix
# Created by https://www.toptal.com/developers/gitignore/api/node,java
......
......@@ -2,11 +2,14 @@
set -e
CI_COMMIT_SHORT_SHA=${CI_COMMIT_SHORT_SHA:-local}
for dir in deadlock-plugins/*/; do
echo "Building $dir"
cd $dir
CURRENT_PLUGIN_DIR=$(basename "$PWD")
npm install
npm run vsce
cp *.vsix ../../plugins
cp *.vsix ../../plugins/$CURRENT_PLUGIN_DIR-$CI_COMMIT_SHORT_SHA.vsix
cd -
done
File deleted
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment