Add beta deploy stage

master
Hasan Genc 4 years ago
parent 32a7a5f180
commit 86f76993f0
  1. 20
      .circleci/config.yml
  2. 2
      package.json

@ -54,6 +54,20 @@ jobs:
- run: - run:
name: Publish package name: Publish package
command: npm publish --access=public command: npm publish --access=public
beta_deploy:
<<: *defaults
steps:
- attach_workspace:
at: .
- run:
name: List Workspace
command: ls
- run:
name: Authenticate with registry
command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc
- run:
name: Publish package
command: npm publish --access=public --tag beta
workflows: workflows:
version: 2 version: 2
@ -79,3 +93,9 @@ workflows:
filters: filters:
branches: branches:
only: master only: master
- beta_deploy:
requires:
- hold
filters:
branches:
only: master

@ -1,6 +1,6 @@
{ {
"name": "@trendyol-js/react-carousel", "name": "@trendyol-js/react-carousel",
"version": "1.0.5", "version": "1.0.6-beta.0",
"description": "Lightweight carousel component for react", "description": "Lightweight carousel component for react",
"main": "dist/cjs/index.js", "main": "dist/cjs/index.js",
"module": "dist/es/index.js", "module": "dist/es/index.js",

Loading…
Cancel
Save