Skip to content

Commit

Permalink
Merge pull request #4 from silinternational/develop
Browse files Browse the repository at this point in the history
Release 0.1.3 -- fix jq query
  • Loading branch information
briskt authored Sep 21, 2024
2 parents dd9cbdb + 283b005 commit abbc18a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ jobs:
with:
images: ${{ vars.DOCKER_ORG }}/${{ github.event.repository.name }}
tags: |
type=ref,event=branch
type=ref,event=tag
# set latest tag for master branch
type=ref,event=branch
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
# set 'latest' tag for main branch
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
- name: Build and push Docker image
Expand Down
2 changes: 1 addition & 1 deletion tfc-dump.pl
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@

# Get the number of Variable Sets

$jq_cmd = "cat $tmpfile | jq '.meta.total-count'";
$jq_cmd = "cat $tmpfile | jq '.meta.pagination[\"total-count\"]'";
$total_count = `$jq_cmd`;
unlink($tmpfile);

Expand Down

0 comments on commit abbc18a

Please sign in to comment.