fixed 'Syntax error: redirection unexpected' for shell script
parent
82e81aa750
commit
3c83ea03cd
|
@ -72,9 +72,9 @@ jobs:
|
|||
# - name: "create tikz-trackschematic package"
|
||||
# run: chmod +x create-release.sh && ./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
|
||||
## 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
|
||||
|
|
|
@ -43,7 +43,9 @@ if [ "$batch_mode" = 0 ]; then
|
|||
else
|
||||
VERSION_STR=$2
|
||||
fi
|
||||
VERSION_NUM=$(cut -c 2- <<< $VERSION_STR)
|
||||
# remove leading character "v"
|
||||
VERSION_NUM=$(echo $VERSION_STR | cut -c 2-)
|
||||
|
||||
RELEASE="tikz-trackschematic-$VERSION_STR"
|
||||
|
||||
## -- commands
|
||||
|
|
Loading…
Reference in New Issue