Add workflow #1

Merged
seang96 merged 17 commits from test into main 2025-09-19 23:10:47 +00:00
Showing only changes of commit eb9feb569f - Show all commits

Fix tag compare
Some checks failed
publish-patch.yaml / Fix tag compare (push) Failing after 0s

Sean Greenawalt 2025-09-19 18:00:44 -04:00

View file

@ -28,7 +28,7 @@ jobs:
- name: Compare with Latest Published Tag
run: |
latest_published_tag=$(curl -s -u ${{ secrets.TOKEN }} https://git.spgrn.com/v2/_catalog | jq -r '.repositories[]' | grep -oP 'stirling-pdf:\K.*' | sort -V | tail -1 || echo "")
latest_published_tag=$(curl -s -u :${{ secrets.TOKEN }} https://git.spgrn.com/v2/seang96/stirling-pdf/tags/list | jq -r '.tags[]' | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+-fat$' | sort -V | tail -1 | sed 's/-fat$//')
echo "latest_published_tag=$latest_published_tag" >> $GITHUB_ENV
if [ -z "$latest_published_tag" ]; then