cmhughes / latexindent.pl

Perl script to add indentation (leading horizontal space) to LaTeX files. It can modify line breaks before, during and after code blocks; it can perform text wrapping and paragraph line break removal. It can also perform string-based and regex-based substitutions/replacements. The script is customisable through its YAML interface.
GNU General Public License v3.0
867 stars 84 forks source link

About 3.23 release #468

Closed chenrui333 closed 1 year ago

chenrui333 commented 1 year ago

👋 it looks like 3.23 release build was not completed, raise this issue for awareness. Thanks!

#9 0.051 fatal: not a git repository (or any of the parent directories): .git
#9 ERROR: process "/bin/sh -c git checkout \"${LATEXINDENT_VERSION}\" && echo \"Y\" | perl latexindent-module-installer.pl" did not complete successfully: exit code: 128
------
 > [5/8] RUN git checkout "V3.23" && echo "Y" | perl latexindent-module-installer.pl:
0.051 fatal: not a git repository (or any of the parent directories): .git
------
Dockerfile:37
--------------------
  35 |     WORKDIR /latexindent.pl/helper-scripts
  36 |     
  37 | >>> RUN git checkout "${LATEXINDENT_VERSION}" && echo "Y" | perl latexindent-module-installer.pl
  38 |     
  39 |     WORKDIR /latexindent.pl/build
--------------------
ERROR: failed to solve: process "/bin/sh -c git checkout \"${LATEXINDENT_VERSION}\" && echo \"Y\" | perl latexindent-module-installer.pl" did not complete successfully: exit code: 128
Error: buildx failed with: ERROR: failed to solve: process "/bin/sh -c git checkout \"${LATEXINDENT_VERSION}\" && echo \"Y\" | perl latexindent-module-installer.pl" did not complete successfully: exit code: 128

relates to https://github.com/Homebrew/homebrew-core/pull/141875

cmhughes commented 1 year ago

Yes, thank you, I am aware of this but am unsure how to fix it.

@eggplants any ideas?

chenrui333 commented 1 year ago

@cmhughes should be covered by #469

eggplants commented 1 year ago

@cmhughes The retried workflow was running on V3.23 (6b8a4cc80d0a5fb877f88c3f8b82d97d3bb28507) branch. You should remove and recreate V3.23 tag for 4fc7e7e8308f5b8d0e87ee0b30a8106402bf5090 maybe.

https://github.com/cmhughes/latexindent.pl/actions/runs/6132551809/job/16656958201

eggplants commented 1 year ago
git checkout main  # HEAD is 4fc7e7e...
git tag -d V3.23
git push origin :V3.23
git tag V3.23
git push --tags
cmhughes commented 1 year ago

@eggplants @chenrui333 many thanks both, I've done as @eggplants suggested, re-run the workflow, and it has passed.

So, this issue should now be resolved.

Thanks again to you both.

chenrui333 commented 1 year ago

💯