We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82e1fcb commit 5c1e9a1Copy full SHA for 5c1e9a1
.github/workflows/build.yml
@@ -441,13 +441,13 @@ jobs:
441
shell: bash
442
run: |
443
shopt -s nullglob
444
- for ARTIFACT in "${{ env.BUILD_ARTIFACTS_PATH }}"/*.{exe,zip,msi}; do
+ for ARTIFACT in "${{ env.BUILD_ARTIFACTS_PATH }}"/*_unsigned.{exe,zip,msi}; do
445
echo "Processing $ARTIFACT"
446
FILENAME=$(basename "$ARTIFACT")
447
BASE_NAME="${FILENAME%.*}"
448
EXTENSION="${FILENAME##*.}"
449
- # Remove '_unsigned' from the base name if it exists
450
- SIGNED_BASE_NAME="${BASE_NAME/_unsigned/}"
+ # Remove '_unsigned' from the base name
+ SIGNED_BASE_NAME="${BASE_NAME%_unsigned}"
451
452
# Sign and rename EXE and MSI files
453
if [[ "$EXTENSION" == "exe" || "$EXTENSION" == "msi" ]]; then
0 commit comments