Skip to content

Commit

Permalink
ci: fix git list tag
Browse files Browse the repository at this point in the history
  • Loading branch information
lowlighter committed Jul 7, 2024
1 parent 830c571 commit 77c362b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ jobs:
- id: releasable
name: git tag --list '${{ inputs.package }}-*'
run: |
echo "releasable=$(git tag --list '${{ inputs.package }}-*')" >> "$GITHUB_OUTPUT"
echo "releasable=$(git tag --list '${{ inputs.package }}-*' | tail -1)" >> "$GITHUB_OUTPUT"
- id: tag
if: inputs.ref == 'refs/heads/main' && inputs.event == 'push' && steps.releasable.outputs.releasable
uses: ldelarue/[email protected]
Expand Down

0 comments on commit 77c362b

Please sign in to comment.