File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -113,9 +113,9 @@ jobs:
113113 RELEASE_TAG : ${{ github.event.release.tag_name }}
114114 run : |
115115 # Remove any previously uploaded zip.
116- gh release delete-asset "$RELEASE_TAG" "sqlite-database-integration.zip" --yes 2>/dev/null || true
116+ gh release delete-asset "$RELEASE_TAG" "plugin- sqlite-database-integration.zip" --yes 2>/dev/null || true
117117 # Upload the new zip.
118- gh release upload "$RELEASE_TAG" "build/sqlite-database-integration.zip"
118+ gh release upload "$RELEASE_TAG" "build/plugin- sqlite-database-integration.zip"
119119
120120 - name : Create or update pull request
121121 id : pr
Original file line number Diff line number Diff line change 33# #
44# Build the SQLite Database Integration plugin zip.
55#
6- # This script copies the plugin package into ./build/sqlite-database-integration/,
6+ # This script copies the plugin package into ./build/plugin- sqlite-database-integration/,
77# resolves the driver symlink, removes dev-only files, and creates a zip archive.
88# #
99
1010set -e
1111
1212DIR=" $( cd " $( dirname " $0 " ) /.." && pwd) "
1313BUILD_DIR=" $DIR /build"
14- PLUGIN_DIR=" $BUILD_DIR /sqlite-database-integration"
15- ZIP_FILE=" $BUILD_DIR /sqlite-database-integration.zip"
14+ PLUGIN_DIR=" $BUILD_DIR /plugin- sqlite-database-integration"
15+ ZIP_FILE=" $BUILD_DIR /plugin- sqlite-database-integration.zip"
1616
1717# Clean previous build.
1818rm -rf " $PLUGIN_DIR "
@@ -36,6 +36,6 @@ bash "$DIR/bin/verify-release-metadata.sh" "$PLUGIN_DIR"
3636
3737# Create the zip archive.
3838cd " $BUILD_DIR "
39- zip -r " $ZIP_FILE " " sqlite-database-integration /" -x " *.DS_Store"
39+ zip -r " $ZIP_FILE " " $( basename " $PLUGIN_DIR " ) /" -x " *.DS_Store"
4040
4141echo " Built: $ZIP_FILE "
You can’t perform that action at this time.
0 commit comments