Skip to content

Commit 2c3b86e

Browse files
authored
Remove /refs/*/ from the installer name (#1835)
* Remove /refs/tags from the installer name * Try to use a pattern /refs/*/ instead of direct /refs/heads * Replace "/" with "-" in installer name
1 parent c126947 commit 2c3b86e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/setup_environment.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,6 @@ jobs:
163163

164164
- name: Build Installer
165165
run: |
166-
BRANCH_NAME=${BRANCH_NAME//\//-}
167166
buildScripts/github/build_installer.sh
168167
env:
169168
TRIK_QT_VERSION: ${{ inputs.trik_qt_version }}

buildScripts/github/build_installer.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/bin/bash
22
set -euxo pipefail
3-
BRANCH_NAME="${BRANCH_NAME:-${GITHUB_REF#refs/heads/}}"
3+
BRANCH_NAME="${BRANCH_NAME:-${GITHUB_REF#refs/*/}}"
4+
BRANCH_NAME=${BRANCH_NAME//\//-}
5+
46
QTBIN=${QTBIN:-$($EXECUTOR bash -c 'eval $(make qmake -n | cut -f 1 -d " ") -query QT_INSTALL_BINS')}
57
case $RUNNER_OS in
68
macOS)

0 commit comments

Comments
 (0)