Skip to content

Commit e7be8a9

Browse files
committed
maint(build): Release on GitHub releases.
1 parent fdc212b commit e7be8a9

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
lines changed

.gitignore

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
redactor/
2-
node_modules/
1+
.DS_Store
2+
.env
33
dist/
4+
node_modules/
45
stamp-yarn
6+
stats.json
7+
yarn-error.log
58
yarn.lock

Makefile

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
-include .env
2+
export
3+
14
ESLINT ?= npx eslint
25
YARN ?= npx yarn
36

@@ -36,19 +39,25 @@ bundle: stamp-yarn
3639
.PHONY: release-major
3740
release-major: check
3841
npx release-it major --dry-run --ci && \
39-
npx release-it major --ci
42+
npx release-it major --ci && \
43+
npx release-it --github.release --github.update --no-github.draft --no-increment --no-git --no-npm --ci && \
44+
git checkout CHANGES.md
4045

4146

4247
.PHONY: release-minor
4348
release-minor: check
4449
npx release-it minor --dry-run --ci && \
45-
npx release-it minor --ci
50+
npx release-it minor --ci && \
51+
npx release-it --github.release --github.update --no-github.draft --no-increment --no-git --no-npm --ci && \
52+
git checkout CHANGES.md
4653

4754

4855
.PHONY: release-patch
4956
release-patch: check
5057
npx release-it patch --dry-run --ci && \
51-
npx release-it patch --ci
58+
npx release-it patch --ci && \
59+
npx release-it --github.release --github.update --no-github.draft --no-increment --no-git --no-npm --ci && \
60+
git checkout CHANGES.md
5261

5362

5463
.PHONY: serve

0 commit comments

Comments
 (0)