Compare commits

...

2 commits

Author SHA1 Message Date
Sean Greenawalt
eb9feb569f Fix tag compare
Some checks failed
publish-patch.yaml / Fix tag compare (push) Failing after 0s
2025-09-19 18:00:44 -04:00
Sean Greenawalt
d721c86a9d Run workflow on push 2025-09-19 18:00:32 -04:00

View file

@ -1,6 +1,9 @@
name: Build and Patch Releases
on:
push:
branches:
- *
schedule:
- cron: '30 17 * * *' # Runs daily at 5:30 PM
workflow_dispatch:
@ -25,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