Skip to content

Commit

Permalink
get version from git (via #111)
Browse files Browse the repository at this point in the history
  • Loading branch information
sseliverstov authored Mar 10, 2020
1 parent 9256e06 commit 982c6d5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
CI: true
- name: npm release
run: |
npm run version -- ${GITHUB_REF:10}
npm run release
env:
NPM_USER: ${{ secrets.NPM_USER }}
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"build": "npm run clean && npm run link && lerna run build --stream",
"test": "npm run build && npm run run-test",
"clean": "lerna run clean",
"version": "lerna version",
"release": "lerna publish from-package --yes",
"release": "lerna publish from-git --yes",
"lint": "lerna run lint",
"lint-fix": "lerna run lint-fix",
"run-test": "lerna run test",
Expand Down

0 comments on commit 982c6d5

Please sign in to comment.