Skip to content

Commit

Permalink
fiux
Browse files Browse the repository at this point in the history
  • Loading branch information
hypery2k committed Dec 2, 2019
1 parent 2b1d02f commit 7bde558
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
run: |
(cd core && npm publish)
(cd cli && npm publish)
(cd core && npm i && npm publish)
(cd cli && npm i && npm publish)
if: github.ref == 'master'

- name: publish preview package
Expand All @@ -71,6 +71,6 @@ jobs:
PACKAGE_VERSION=$(node -p -e "require('./core/package.json').version")
CURRENT_TIME=$(date +%s)
NEW_VERSION=${PACKAGE_VERSION}-build${CURRENT_TIME}
(cd core && npm version $NEW_VERSION --no-git-tag-version && npm publish --tag next)
(cd cli && npm i galenframework@$NEW_VERSION --E && npm version $NEW_VERSION && npm publish --tag next)
(cd core && npm i && npm version $NEW_VERSION --no-git-tag-version && npm publish --tag next)
(cd cli && npm i && npm i galenframework@$NEW_VERSION --E && npm version $NEW_VERSION && npm publish --tag next)
#if: github.ref == 'develop'

0 comments on commit 7bde558

Please sign in to comment.