Compare commits

..

No commits in common. "65552d40d61be9eeac7444105930b92d97225375" and "9b8ae101cdf95762a54f542d039ededdbd7c93d6" have entirely different histories.

2 changed files with 16 additions and 21 deletions

View File

@ -43,23 +43,23 @@ jobs:
# with: # with:
# requirements-file: .github/tex/packages.test.txt # requirements-file: .github/tex/packages.test.txt
# ## # ##
- name: "setup TeX Live (via teatimeguest)" # - name: "setup TeX Live (via teatimeguest)"
uses: teatimeguest/setup-texlive-action@v2 # # tlmgr needs updates and fails
with: # uses: teatimeguest/setup-texlive-action@v1
package-file: .github/tex/packages.test.txt
##
# - name: "setup TeX Live (via paolobrasolin)"
# # # tlmgr needs updates and fails
# uses: paolobrasolin/setup-texlive-action@v1
# with: # with:
# profile-path: ${{ github.workspace }}/.github/tex/texlive.profile.txt # package-file: .github/tex/packages.test.txt
# packages-path: ${{ github.workspace }}/.github/tex/packages.test.txt # ##
- name: "setup TeX Live (via paolobrasolin)"
uses: paolobrasolin/setup-texlive-action@v1
with:
profile-path: ${{ github.workspace }}/.github/tex/texlive.profile.txt
packages-path: ${{ github.workspace }}/.github/tex/packages.test.txt
# - name: "install tikz-trackschematic" - name: "install tikz-trackschematic"
# run: ./build.sh --local-dev-install run: chmod +x dev-install.sh && ./dev-install.sh -b
# - name: "test tikz-trackschematic" # - name: "test tikz-trackschematic"
# run: ./build.sh --test # run: cd test && ./testing.sh && cd ..
# ## create varibale ${{ steps.tag.outputs.tag }} # ## create varibale ${{ steps.tag.outputs.tag }}
# - name: "get tag" # - name: "get tag"
@ -70,11 +70,11 @@ jobs:
# strip_v: false # strip_v: false
# - name: "create tikz-trackschematic package" # - name: "create tikz-trackschematic package"
# run: ./build.sh --release ${{ steps.tag.outputs.tag }} --batch-mode # run: ./create-release.sh -v ${{ steps.tag.outputs.tag }}
## opening a debug console ## opening a debug console
- name: Setup upterm session - name: Setup upterm session
uses: lhotari/action-upterm@v1 uses: lhotari/action-upterm@v1
with: with:
## limits ssh access and adds the ssh public keys of the listed GitHub users ## limits ssh access and adds the ssh public keys of the listed GitHub users
limit-access-to-users: railtoolkit,kaat0,apriljunge limit-access-to-users: railtoolkit,kaat0

View File

@ -42,11 +42,9 @@ RELEASE=0
process_arguments() { process_arguments() {
while true; do while true; do
# loop condition - test for empty string:
if [ -z "$1" ]; then if [ -z "$1" ]; then
break; break;
fi fi
# loop test
case $1 in case $1 in
-h|--help) -h|--help)
print_usage print_usage
@ -122,10 +120,7 @@ check_zip() {
} }
check_version_number() { check_version_number() {
while true; do while [[ ! "$VERSION_STR" =~ ^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)?$ ]]; do
# 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 "${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" echo $n "Please specify as Semantic Versioning ( e.g. v1.0.0 ): $c"