Add workflow #1
1 changed files with 1 additions and 1 deletions
commit
eb9feb569f
|
|
@ -28,7 +28,7 @@ jobs:
|
||||||
|
|
||||||
- name: Compare with Latest Published Tag
|
- name: Compare with Latest Published Tag
|
||||||
run: |
|
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
|
echo "latest_published_tag=$latest_published_tag" >> $GITHUB_ENV
|
||||||
|
|
||||||
if [ -z "$latest_published_tag" ]; then
|
if [ -z "$latest_published_tag" ]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue