update debug github action

master
Martin Scheidt 2022-03-09 14:53:39 +01:00
parent 520d94848a
commit 07de619804
2 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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