This commit is contained in:
parent
d721c86a9d
commit
eb9feb569f
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue