File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -139,15 +139,18 @@ jobs:
139139 steps :
140140 - checkout
141141 - run :
142- name : publish to npm
142+ # Make sure HEAD points to master
143+ # TODO: this is horrible as it makes the build non-reproducible
144+ # but the `release` job performs a bump commit as part of the release flow
145+ # so the fetch/rebase is actually needed (unless release process refactored...)
146+ name : rebase to master
143147 command : |
144- #Make sure HEAD points to master
145- # TODO: this is horrible as it makes the build non-reproducible
146- # but the `release` job performs a bump commit as part of the release flow
147- $ so the fetch/rebase is actually needed (unless release process refactored...)
148148 git checkout master
149149 git fetch
150150 git rebase
151+ - run :
152+ name : publish to npm
153+ command : |
151154 echo "//registry.npmjs.org/:_authToken=$CLOUD_MTA_BOT_NPM_TOKEN" > .npmrc
152155 npm install
153156 npm run ci
You can’t perform that action at this time.
0 commit comments