Skip to content

Commit bd9fbb9

Browse files
authored
ci: revert and return hack for bump (#965)
1 parent 1ddc1bb commit bd9fbb9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.circleci/config.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,13 @@ jobs:
141141
- run:
142142
name: publish to npm
143143
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...)
148+
git checkout master
149+
git fetch
150+
git rebase
144151
echo "//registry.npmjs.org/:_authToken=$CLOUD_MTA_BOT_NPM_TOKEN" > .npmrc
145152
npm install
146153
npm run ci

0 commit comments

Comments
 (0)