gnucash-on-windows future: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Tue Aug 25 18:29:58 EDT 2026


Updated	 via  https://github.com/Gnucash/gnucash-on-windows/commit/93398218 (commit)
	 via  https://github.com/Gnucash/gnucash-on-windows/commit/6150cba9 (commit)
	from  https://github.com/Gnucash/gnucash-on-windows/commit/1279bd5e (commit)



commit 933982182c5e5ef84db79f5ed2be8427c83d31a1
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Aug 25 15:26:11 2026 -0700

    Force gnc-ucrt64-repo tag/release onto github repo default branch.
    
    See explanation in comments in
    .github/actions/publish-ucrt64-repo/action.yml.

diff --git a/.github/actions/publish-ucrt64-repo/action.yml b/.github/actions/publish-ucrt64-repo/action.yml
index 44b85eb..0c69979 100644
--- a/.github/actions/publish-ucrt64-repo/action.yml
+++ b/.github/actions/publish-ucrt64-repo/action.yml
@@ -15,6 +15,13 @@ inputs:
     description: Tag of the shared rolling release to update
     required: false
     default: gnc-ucrt64-repo
+  target-branch:
+    description: >-
+      Branch to create the release tag against. Must be the repository's
+      actual default branch (see note below), regardless of which branch
+      this action itself runs from.
+    required: false
+    default: master
 
 runs:
   using: composite
@@ -68,7 +75,16 @@ runs:
         if ($LASTEXITCODE -ne 0) {
           # Create it with no assets yet, and publish it immediately, so its
           # tag is fully materialized before anything is ever uploaded.
+          # --target is pinned to the repo's actual default branch rather
+          # than left to auto-detect: without it, a newly created tag targets
+          # whatever branch is set as default *at that moment*. If that ever
+          # differs from the default branch later (e.g. it gets flipped back
+          # after a temporary change), the tag is no longer reachable from
+          # default-branch history, and GitHub's tag/release enforcement
+          # eventually demotes the release back to an unpublished, untagged
+          # state on its own -- with no error, hours after the fact.
           gh release create ${{ inputs.release-tag }} `
+            --target ${{ inputs.target-branch }} `
             --title "GnuCash ucrt64 dependency repo" `
             --notes "Auto-generated rolling pacman repository for ucrt64. Do not edit manually; updated incrementally by workflows under .github/workflows/."
           if ($LASTEXITCODE -ne 0) {

commit 6150cba99edbe91b7ab758ec691c9cf7027723c5
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Aug 25 15:19:58 2026 -0700

    Add yml and md to always-LF line endings.

diff --git a/.gitattributes b/.gitattributes
index 0d7d90a..df521db 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -14,6 +14,7 @@
 *.in    text eol=lf
 *.js    text eol=lf
 *.m4    text eol=lf
+*.md    text eol=lf
 *.patch text eol=lf
 *.pl    text eol=lf
 *.po    text eol=lf
@@ -23,6 +24,7 @@
 *.sh    text eol=lf
 *.svg   text eol=lf
 *.xsl   text eol=lf
+*.yml   text eol=lf
 *.modules text eol=lf
 jhbuildrc text eol=lf
 PKGBUILD text eol=lf



Summary of changes:
 .gitattributes                                 |  2 ++
 .github/actions/publish-ucrt64-repo/action.yml | 16 ++++++++++++++++
 2 files changed, 18 insertions(+)



More information about the gnucash-changes mailing list