Skip to content
Snippets Groups Projects
Verified Commit 5c65167e authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

chore: update release process

parent 0a6722f7
No related branches found
No related tags found
No related merge requests found
......@@ -148,7 +148,7 @@ if ! git commit -m "chore: release and publish to npm new version $NEXTVERSION"
exit 1
fi
cd ''${BUILD_PATH}
cd ''${BUILD_PATH} || exit 1
OPTIONS=""
if [ ! -f "${config.devenv.root}/.npmrc" ]; then
......@@ -160,11 +160,10 @@ if [ ! -f "${config.devenv.root}/.npmrc" ]; then
OPTIONS="--dry-run --no-git-checks"
fi
pnpm publish $OPTIONS --dry-run --access public
pnpm publish $OPTIONS --access public
exitcode=$?
cd -
cd - || exit 1
set -x
if [ -n "$OPTIONS" ] || [ $exitcode -ne 0 ]; then
## reset to last version
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment