From c5cf0036636b443e2f29cdc60b681d555085df31 Mon Sep 17 00:00:00 2001 From: Kaustav Ghosh Date: Thu, 8 Jul 2021 17:36:01 -0700 Subject: [PATCH] chore: publish ext branch as a tag (#7689) Co-authored-by: Ghosh --- .circleci/config.base.yml | 16 +--------------- package.json | 1 + 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/.circleci/config.base.yml b/.circleci/config.base.yml index 7ea00926f8a..a9e95848236 100644 --- a/.circleci/config.base.yml +++ b/.circleci/config.base.yml @@ -889,24 +889,10 @@ workflows: - npm-publish requires: - test - - mock_e2e_tests - - graphql_e2e_tests - - integration_test - - done_with_pkg_linux_e2e_tests - - amplify_sudo_install_test - - amplify_console_integration_tests - - amplify_migration_tests_latest - - amplify_migration_tests_v4 - - amplify_migration_tests_v4_30_0 - - amplify_migration_tests_non_multi_env_layers - - amplify_migration_tests_multi_env_layers - - github_prerelease_install_sanity_check filters: branches: only: - - release - - master - - beta + - ext - github_release: context: github-publish requires: diff --git a/package.json b/package.json index 680f7c32fcb..20ca0e09814 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,7 @@ "pkg-all-local": "yarn verdaccio-start && yarn verdaccio-connect && yarn publish-to-verdaccio && yarn pkg-all && yarn verdaccio-disconnect", "publish:master": "lerna publish --canary --force-publish --preid=alpha --exact --include-merged-tags --conventional-prerelease --no-verify-access --yes", "publish:beta": "lerna publish --exact --dist-tag=beta --preid=beta --conventional-commits --conventional-prerelease --message 'chore(release): Publish [ci skip]' --no-verify-access --yes", + "publish:ext": "lerna publish --exact --dist-tag=ext --preid=ext --conventional-commits --conventional-prerelease --message 'chore(release): Publish [ci skip]' --no-verify-access --yes", "publish:release": "lerna publish --conventional-commits --exact --yes --message 'chore(release): Publish [ci skip]' --no-verify-access", "postpublish:release": "git fetch . release:master && git push origin master", "yarn-use-bash": "yarn config set script-shell /bin/bash",