diff --git a/.github/workflows/debug.yml b/.github/workflows/debug.yml index 88e1692..78ee41e 100644 --- a/.github/workflows/debug.yml +++ b/.github/workflows/debug.yml @@ -53,10 +53,10 @@ jobs: # packages-path: ${{ github.workspace }}/.github/tex/packages.test.txt # - name: "install tikz-trackschematic" - # run: ./build.sh --install-dev + # run: ./build.sh --batch-mode --install-dev # - name: "test tikz-trackschematic" - # run: ./build.sh --test + # run: ./build.sh --batch-mode --test --verbose # ## create varibale ${{ steps.tag.outputs.tag }} # - name: "get tag" @@ -72,6 +72,5 @@ jobs: ## opening a debug console - name: Setup upterm session uses: lhotari/action-upterm@v1 - with: - ## limits ssh access and adds the ssh public keys of the listed GitHub users - limit-access-to-users: railtoolkit,kaat0,apriljunge + # with: + # limit-access-to-actor: true diff --git a/build.sh b/build.sh index 1f784da..ab4756f 100755 --- a/build.sh +++ b/build.sh @@ -282,6 +282,7 @@ check_imagemagick_policy() { exit 1 fi fi + POLICY_MOD=1 $rootrun sed -i".backup" 's/^.*policy.*coder.*none.*PDF.*//' $POLICY_PATH echo "${RED}Modified ${POLICY_PATH}!${COLOR_RESET}" @@ -315,7 +316,7 @@ check_version_number() { # loop condition - test format of $VERSION_STR: echo "$VERSION_STR" | egrep -q "v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)?" && break; # loop test - if [ "$BATCHMODE" = 0 ]; then + if [ $BATCHMODE = 0 ]; then echo "${RED}Your version '$VERSION_STR' has not the correct format!${COLOR_RESET}" echo $n "Please specify as Semantic Versioning ( e.g. v1.0.0 ): $c" read VERSION_STR @@ -414,7 +415,7 @@ check_url2() { echo "WARNING: URL for [Unreleased] in CHANGELOG.md does not reflect the current version $VERSION_NUM." echo "WARNING: Be sure to edit CHANGELOG.md and specify current version!" - if [ "$BATCHMODE" -eq 0 ]; then + if [ $BATCHMODE = 0 ]; then echo "Do you wish to continue without updated URL for [Unreleased]?" echo $n "(y/n) $c" while true; do