Skip to content

Commit e8f02b4

Browse files
committed
maint(Build): Support 2FA when releasing.
Remove non interactive ci-mode from Makefile to allow for OTP prompt and two-factor auth on npm. Also remove dry-run as we now have to confirm each step anyways.
1 parent b05c03f commit e8f02b4

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

Makefile

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,26 +67,23 @@ release-zip: clean-dist bundle
6767

6868
.PHONY: release-major
6969
release-major: check
70-
npx release-it major --dry-run --ci && \
71-
npx release-it major --ci && \
70+
npx release-it major && \
7271
make release-zip && \
73-
npx release-it --github.release --github.update --github.assets=dist/*.zip --no-github.draft --no-increment --no-git --no-npm --ci && \
72+
npx release-it --github.release --github.update --github.assets=dist/*.zip --no-github.draft --no-increment --no-git --no-npm && \
7473
git checkout CHANGES.md
7574

7675
.PHONY: release-minor
7776
release-minor: check
78-
npx release-it minor --dry-run --ci && \
79-
npx release-it minor --ci && \
77+
npx release-it minor && \
8078
make release-zip && \
81-
npx release-it --github.release --github.update --github.assets=dist/*.zip --no-github.draft --no-increment --no-git --no-npm --ci && \
79+
npx release-it --github.release --github.update --github.assets=dist/*.zip --no-github.draft --no-increment --no-git --no-npm && \
8280
git checkout CHANGES.md
8381

8482
.PHONY: release-patch
8583
release-patch: check
86-
npx release-it patch --dry-run --ci && \
87-
npx release-it patch --ci && \
84+
npx release-it patch && \
8885
make release-zip && \
89-
npx release-it --github.release --github.update --github.assets=dist/*.zip --no-github.draft --no-increment --no-git --no-npm --ci && \
86+
npx release-it --github.release --github.update --github.assets=dist/*.zip --no-github.draft --no-increment --no-git --no-npm && \
9087
git checkout CHANGES.md
9188

9289
src/lib/depends_parse.js: src/lib/depends_parse.pegjs stamp-yarn

0 commit comments

Comments
 (0)