File tree Expand file tree Collapse file tree 1 file changed +18
-18
lines changed
Expand file tree Collapse file tree 1 file changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -39,21 +39,21 @@ jobs:
3939 yarn install
4040 yarn build
4141
42- # - name: publish
43- # run: |
44- # git config user.email ${{ secrets.BOT_GIT_EMAIL }}
45- # git config user.name ${{ secrets.BOT_GIT_USERNAME }}
46- #
47- # git_hash=$(git rev-parse --short "$GITHUB_SHA")
48- # current_branch=$(node -p -e "'${{ github.ref }}'.replace('refs/heads/', '')")
49- #
50- # ${GITHUB_WORKSPACE}/node_modules/.bin/lerna publish "0.0.0-${git_hash}" \
51- # --exact \
52- # --no-push \
53- # --no-git-tag-version \
54- # --pre-dist-tag dev \
55- # --allow-branch ${current_branch}
56- #
57- # env:
58- # NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
59- # NPM_CONFIG_PROVENANCE: true
42+ - name : publish
43+ run : |
44+ git config user.email ${{ secrets.BOT_GIT_EMAIL }}
45+ git config user.name ${{ secrets.BOT_GIT_USERNAME }}
46+
47+ git_hash=$(git rev-parse --short "$GITHUB_SHA")
48+ current_branch=$(node -p -e "'${{ github.ref }}'.replace('refs/heads/', '')")
49+
50+ ${GITHUB_WORKSPACE}/node_modules/.bin/lerna publish "0.0.0-${git_hash}" \
51+ --exact \
52+ --no-push \
53+ --no-git-tag-version \
54+ --pre-dist-tag dev \
55+ --allow-branch ${current_branch}
56+
57+ env :
58+ NODE_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
59+ NPM_CONFIG_PROVENANCE : true
You can’t perform that action at this time.
0 commit comments