/
githubmirror
/
babel
Обзор
Документация
Войти
/
githubmirror
/
babel
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
scripts/integration-tests/publish-local.sh
40 строк
1 KB
Nicolò Ribaudo
Update publishing process for Babel 8 (#17660)
09 янв 2026, 20:05
Не верифицирован
09 янв 2026, 20:05
e537efa
Код
Авторство
О чём код?
#!/usr/bin/env bash #==============================================================================# # SETUP # #==============================================================================# # Start in scripts/integration-tests/ even if run from root directory cd "$(dirname "$0")" source utils/local-registry.sh source utils/git.sh source utils/cleanup.sh # Echo every command being executed set -x # Go to the root of the monorepo cd ../.. initializeE2Egit #==============================================================================# # PUBLISH # #==============================================================================# yarn startLocalRegistry "$PWD"/scripts/integration-tests/verdaccio-config.yml loginLocalRegistry # This script gets the last root package.json version, # and then increases by one the patch number, after # stripping pre-release info VERSION=$( node -p "require('./package.json').version.replace(/-.*/, '').replace(/(?<=\\d+\\.\\d+\\.)\\d+/, x => ++x)" ) I_AM_USING_VERDACCIO=I_AM_SURE VERSION="$VERSION" make publish-test cleanup