Skip to content

Commit

Permalink
test update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-amblard committed Jul 31, 2020
1 parent 419f7f8 commit 5876944
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,22 @@ aliases:
command: |
echo 'export CURRENT_PACKAGE_VERSION=$(git describe --tags)' >> $BASH_ENV
echo 'export CURRENT_PACKAGE_NAME=$(jq ".name" ~/repos/package.json -r)' >> $BASH_ENV
- &versioning_package
- &versioning_package_prod
run:
name: Versioning package
command: npm version $CURRENT_PACKAGE_VERSION --no-git-tag-version
- &versioning_package_alpha
run:
name: Versioning package
command: npm version $CURRENT_PACKAGE_VERSION --no-git-tag-version --preid alpha
- &versioning_package_beta
run:
name: Versioning package
command: npm version $CURRENT_PACKAGE_VERSION --no-git-tag-version --preid beta
- &versioning_package_canary
run:
name: Versioning package
command: npm version $CURRENT_PACKAGE_VERSION --no-git-tag-version --preid canary
- &print_informations
run:
name: Print package informations
Expand Down Expand Up @@ -132,7 +144,7 @@ jobs:
- *attach
- *auth_registry
- *save_package_informations
- *versioning_package
- *versioning_package_alpha
- *print_informations
- run:
name: Publish package
Expand All @@ -145,7 +157,7 @@ jobs:
- *attach
- *auth_registry
- *save_package_informations
- *versioning_package
- *versioning_package_beta
- *print_informations
- run:
name: Publish package
Expand All @@ -158,7 +170,7 @@ jobs:
- *attach
- *auth_registry
- *save_package_informations
- *versioning_package
- *versioning_package_canary
- *print_informations
- run:
name: Publish package
Expand All @@ -171,7 +183,7 @@ jobs:
- *attach
- *auth_registry
- *save_package_informations
- *versioning_package
- *versioning_package_prod
- *print_informations
- run:
name: Publish package
Expand Down

0 comments on commit 5876944

Please sign in to comment.