[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [NonGNU ELPA] Htmlize version 1.57
From: |
Stefan Monnier |
Subject: |
Re: [NonGNU ELPA] Htmlize version 1.57 |
Date: |
Thu, 26 Aug 2021 11:03:35 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Hi Hrvoje,
Hrvoje Nikšić [2021-08-26 11:44:00] wrote:
> Is there a way to have ELPA track the "stable" branch rather than
> "master"? The email is just wrong, as htmlize 1.57 has *not* been
> released - I've just pushed the version bump to the branch that holds
> development ("master").
Right, the general rule is that a release is
made from the commit that changes the `Version:` header, so indeed
setting it to `1.57` before the actual release leads to trouble.
There are various options to avoid the problem:
- One way is to set your `Version:` to something like `1.57-snapshot` or
`1.57-git` during development (or leave it set at the previous
release's version) and then set it to `1.57` for the release itself.
- Another is to use a separate branch for the releases.
Since you seem to have a dedicated release branch already, I installed
the patch below to nongnu.git so releases will be made from the
`stable` branch. Sorry for not noticing earlier,
BTW, the email is sadly right: an htmlize-1.57 package has been released
on http://elpa.nongnu.org/nongnu/htmlize.html :-(
Stefan
diff --git a/elpa-packages b/elpa-packages
index b7d4a4bd1..4aafd5460 100644
--- a/elpa-packages
+++ b/elpa-packages
@@ -80,7 +80,8 @@
:readme "README.md")
("htmlize" :url "https://github.com/hniksic/emacs-htmlize"
- :ignored-files ("htmlize.el.html"))
+ :ignored-files ("htmlize.el.html")
+ :release-branch "stable"))
("inf-clojure" :url
"https://github.com/clojure-emacs/inf-clojure"
:ignored-files ("test")