diff --git a/.github/workflows/tarball.yml b/.github/workflows/tarball.yml index 1b5b04d31d..75c539e188 100644 --- a/.github/workflows/tarball.yml +++ b/.github/workflows/tarball.yml @@ -31,7 +31,7 @@ jobs: force_push_tag: true - name: Build - run: + run: | export GITTAGNOV=$(echo "$GITHUB_REF" | sed "s/.*\///;s/^v//") ./ci/tarball.build.sh env: diff --git a/src/plugins/score-plugin-protocols/Protocols/Bitfocus/BitfocusProtocolSettingsWidget.cpp b/src/plugins/score-plugin-protocols/Protocols/Bitfocus/BitfocusProtocolSettingsWidget.cpp index 05024d2bc2..48ebc10cc9 100644 --- a/src/plugins/score-plugin-protocols/Protocols/Bitfocus/BitfocusProtocolSettingsWidget.cpp +++ b/src/plugins/score-plugin-protocols/Protocols/Bitfocus/BitfocusProtocolSettingsWidget.cpp @@ -81,8 +81,7 @@ static void makeValidator(QLineEdit* widg, QString rx) auto val = new QRegularExpressionValidator; if(rx.startsWith("/^")) { - rx.removeAt(0); - rx.removeAt(0); + rx.remove(0, 2); } if(rx.endsWith("$/")) {