Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hypery2k committed Dec 2, 2019
1 parent c86ba8e commit 2b1d02f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
run: |
PACKAGE_VERSION=$(node -p -e "require('./core/package.json').version")
CURRENT_TIME=$(date "+%Y-%m-%d_%H:%M.%S")
NEW_VERSION=$PACKAGE_VERSION_$CURRENT_TIME
(cd core && npm version $NEW_VERSION && npm publish --tag next)
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)
#if: github.ref == 'develop'

0 comments on commit 2b1d02f

Please sign in to comment.