Skip to content

Commit 3f2f577

Browse files
Merge pull request #551
2 parents ec76a4c + ef3aee2 commit 3f2f577

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,6 @@ max_line_length = 150
1515
[*.md]
1616
max_line_length = off
1717
trim_trailing_whitespace = false
18+
19+
[Makefile]
20+
indent_style = tab

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,13 @@ release-local-resign-tag: package.json
247247
git tag --delete "v$(shell jq --raw-output '.version' $<)"
248248
git tag --sign --local-user="$(RELEASE_OPENPGP_FINGERPRINT)" --message="chore(release): $(shell jq --raw-output '.version' $<)" "v$(shell jq --raw-output '.version' $<)"
249249

250+
# "build" target currently does not guarantee correctness [1].
251+
# GNU make is not the right tool for this so we just force make as workaround.
252+
#
253+
# [1]: https://bazel.build/reference/glossary#correctness
250254
.PHONY: release-publish
251255
release-publish:
256+
$(MAKE) $(MAKE_OPTIONS) --always-make build
252257
git push --follow-tags origin
253258
npm publish
254259
@echo "Manually create release on https://github.com/opening-hours/opening_hours.js/releases"

0 commit comments

Comments
 (0)