Compare commits
7 Commits
9b8ae101cd
...
65552d40d6
Author | SHA1 | Date |
---|---|---|
Martin Scheidt | 65552d40d6 | |
Martin Scheidt | 9947c24f65 | |
Martin Scheidt | 16ec1a0fb7 | |
Martin Scheidt | 267ca88ff8 | |
Martin Scheidt | 96f6eeb9c0 | |
Martin Scheidt | b68b787bff | |
Martin Scheidt | 1ead291f21 |
|
@ -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)"
|
||||||
# # tlmgr needs updates and fails
|
uses: teatimeguest/setup-texlive-action@v2
|
||||||
# uses: teatimeguest/setup-texlive-action@v1
|
|
||||||
# with:
|
|
||||||
# package-file: .github/tex/packages.test.txt
|
|
||||||
# ##
|
|
||||||
- name: "setup TeX Live (via paolobrasolin)"
|
|
||||||
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)"
|
||||||
|
# # # tlmgr needs updates and fails
|
||||||
|
# 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: chmod +x dev-install.sh && ./dev-install.sh -b
|
# run: ./build.sh --local-dev-install
|
||||||
|
|
||||||
# - name: "test tikz-trackschematic"
|
# - name: "test tikz-trackschematic"
|
||||||
# run: cd test && ./testing.sh && cd ..
|
# run: ./build.sh --test
|
||||||
|
|
||||||
# ## 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: ./create-release.sh -v ${{ steps.tag.outputs.tag }}
|
# run: ./build.sh --release ${{ steps.tag.outputs.tag }} --batch-mode
|
||||||
|
|
||||||
## 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
|
limit-access-to-users: railtoolkit,kaat0,apriljunge
|
||||||
|
|
7
build.sh
7
build.sh
|
@ -42,9 +42,11 @@ 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
|
||||||
|
@ -120,7 +122,10 @@ check_zip() {
|
||||||
}
|
}
|
||||||
|
|
||||||
check_version_number() {
|
check_version_number() {
|
||||||
while [[ ! "$VERSION_STR" =~ ^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)?$ ]]; do
|
while true; 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"
|
||||||
|
|
Loading…
Reference in New Issue