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:
name: Publish package
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:
version: 2
@ -79,3 +93,9 @@ workflows:
filters:
branches:
only: master
- beta_deploy:
requires:
- hold
filters:
branches:
only: master

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

Loading…
Cancel
Save