mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-11 02:36:42 +02:00
ci: update bundle scripts to use pnpm exec + add openssh-client to ci docker image
This commit is contained in:
parent
e0c3ddb07d
commit
9ef58808fc
6 changed files with 11 additions and 14 deletions
|
|
@ -6,14 +6,14 @@ set -e
|
|||
if [ "${CI_COMMIT_BEFORE_SHA}" = "0000000000000000000000000000000000000000" ];
|
||||
then
|
||||
echo "commitlint from HEAD^"
|
||||
pnpx commitlint --from=HEAD^
|
||||
pnpm exec commitlint --from=HEAD^
|
||||
else
|
||||
echo "commitlint from ${CI_COMMIT_BEFORE_SHA}"
|
||||
br=`git branch -r --contains ${CI_COMMIT_BEFORE_SHA}`
|
||||
if [ ! -n $br ];
|
||||
then
|
||||
pnpx commitlint --from=HEAD^
|
||||
pnpm exec commitlint --from=HEAD^
|
||||
else
|
||||
pnpx commitlint --from="${CI_COMMIT_BEFORE_SHA}"
|
||||
pnpm exec commitlint --from="${CI_COMMIT_BEFORE_SHA}"
|
||||
fi
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue