Compare commits
No commits in common. "65552d40d61be9eeac7444105930b92d97225375" and "9b8ae101cdf95762a54f542d039ededdbd7c93d6" have entirely different histories.
65552d40d6
...
9b8ae101cd
|
@ -43,23 +43,23 @@ jobs:
|
|||
# with:
|
||||
# requirements-file: .github/tex/packages.test.txt
|
||||
# ##
|
||||
- name: "setup TeX Live (via teatimeguest)"
|
||||
uses: teatimeguest/setup-texlive-action@v2
|
||||
with:
|
||||
package-file: .github/tex/packages.test.txt
|
||||
##
|
||||
# - name: "setup TeX Live (via paolobrasolin)"
|
||||
# # # tlmgr needs updates and fails
|
||||
# uses: paolobrasolin/setup-texlive-action@v1
|
||||
# - name: "setup TeX Live (via teatimeguest)"
|
||||
# # tlmgr needs updates and fails
|
||||
# uses: teatimeguest/setup-texlive-action@v1
|
||||
# with:
|
||||
# profile-path: ${{ github.workspace }}/.github/tex/texlive.profile.txt
|
||||
# packages-path: ${{ github.workspace }}/.github/tex/packages.test.txt
|
||||
# package-file: .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"
|
||||
# run: ./build.sh --local-dev-install
|
||||
- name: "install tikz-trackschematic"
|
||||
run: chmod +x dev-install.sh && ./dev-install.sh -b
|
||||
|
||||
# - name: "test tikz-trackschematic"
|
||||
# run: ./build.sh --test
|
||||
# run: cd test && ./testing.sh && cd ..
|
||||
|
||||
# ## create varibale ${{ steps.tag.outputs.tag }}
|
||||
# - name: "get tag"
|
||||
|
@ -70,11 +70,11 @@ jobs:
|
|||
# strip_v: false
|
||||
|
||||
# - 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
|
||||
- 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
|
||||
limit-access-to-users: railtoolkit,kaat0
|
||||
|
|
7
build.sh
7
build.sh
|
@ -42,11 +42,9 @@ RELEASE=0
|
|||
|
||||
process_arguments() {
|
||||
while true; do
|
||||
# loop condition - test for empty string:
|
||||
if [ -z "$1" ]; then
|
||||
break;
|
||||
fi
|
||||
# loop test
|
||||
case $1 in
|
||||
-h|--help)
|
||||
print_usage
|
||||
|
@ -122,10 +120,7 @@ check_zip() {
|
|||
}
|
||||
|
||||
check_version_number() {
|
||||
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
|
||||
while [[ ! "$VERSION_STR" =~ ^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)?$ ]]; do
|
||||
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"
|
||||
|
|
Loading…
Reference in New Issue