Add pre_changelog and release_changelog commands#1823
Add pre_changelog and release_changelog commands#1823wilzbach wants to merge 1 commit intodlang:masterfrom
Conversation
|
Thanks for your pull request, @wilzbach! Bugzilla referencesYour PR doesn't reference any Bugzilla issue. If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog. |
53b361a to
c2d78fb
Compare
| $(STABLE_RDMD) $(TOOLS_DIR)/changed.d "$$(echo $${previous_latest}..v$(LATEST))" $$changelog_flags \ | ||
| -o "changelog/$(LATEST).dd" --version "$(LATEST)" --date "$$(date +'%B %d, %Y')" | ||
|
|
||
| release_changelog: changelog/${LATEST}.dd html $(DOC_OUTPUT_DIR)/changelog/$(LATEST).html |
There was a problem hiding this comment.
@MartinNowak release_changelog should be a drop-in replacement for whatever you are currently using. It's a bit different though. Are you using the newest version at tools?
diff --git a/changelog/2.074.1.dd b/changelog/2.074.1.dd
index f1e38b17..f497c8ce 100644
--- a/changelog/2.074.1.dd
+++ b/changelog/2.074.1.dd
@@ -2,17 +2,13 @@ Ddoc
$(CHANGELOG_NAV_LAST 2.074.0)
-$(VERSION May 30, 2017, =================================================,
+$(VERSION July 15, 2017, =================================================,
-$(BR)$(BIG $(RELATIVE_LINK2 bugfix-list, List of all bug fixes and enhancements in D $(VER).))
-
-$(HR)
-
-$(BR)$(BIG $(LNAME2 bugfix-list, List of all bug fixes and enhancements in D $(VER):))
+$(BR)$(BIG List of all bug fixes and enhancements in D $(VER).)
$(BUGSTITLE DMD Compiler regressions,
-$(LI $(BUGZILLA 17407): [REG] __traits$(LPAREN)compiles$(RPAREN) triggers assertion failure)
+$(LI $(BUGZILLA 17407): [REG2.067] __traits$(LPAREN)compiles$(RPAREN) triggers assertion failure)
)
$(BUGSTITLE DMD Compiler bugs,
@@ -20,6 +16,7 @@ $(LI $(BUGZILLA 17289): With Xcode 8.3 linker, warnings of "pointer not aligned"
)
$(BUGSTITLE Phobos regressions,
+$(LI $(BUGZILLA 17264): [REG2.073] uniq fails with const elements)
$(LI $(BUGZILLA 17330): [REG 2.072] BigInt's constructor used to be pure)
$(LI $(BUGZILLA 17340): [REG 2.074.0] isNumeric!bool should not be true)
)
posix.mak
Outdated
| @echo "Please open file:///$(shell pwd)/web/changelog/${NEXT_VERSION}_pre.html in your browser" | ||
|
|
||
| # --no-text is used for point-releases like 2.074.1 to exclude plain-text files in changelog/* folders | ||
| # which are inteded for major releases only. |
c2d78fb to
f77e252
Compare
|
In my experience any integration into dlang.org's Makefile was always a pain to work with as it's taking a role as central build script, thus doesn't integrate well with an outer build script (e.g. starts to clone and/or build random random stuff). |
|
I'd rather revert #1817 for now, even though it contained some useful changes, and integrate the discussion and all related changes into #1821 (comment). Also slightly reducing the confusion of half a dozen of PRs. |
Follow-up to #1817 and #1821
The idea is the more logic we move to the same spot, the easier it gets to update it and improve it.
Also if we can try out the script that Martin runs, the less likely it is for us to break them in the future ;-)
Eventually the plan is to generate the
_pre.ddpages automatically, but this depends on dlang/tools#251