Skip to content

Commit

Permalink
Fixes shell command for action
Browse files Browse the repository at this point in the history
  • Loading branch information
hooksie1 committed Nov 2, 2023
1 parent 59a377c commit 1eea9ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ jobs:
platforms: linux/amd64,linux/arm64
tags: |
hooksie1/cmsnr:latest
hooksie1/cmsnr:$(shell if git rev-parse --is-inside-work-tree >/dev/null 2>&1; then git describe --exact-match --tags HEAD 2>/dev/null || echo "dev-$(shell git rev-parse --short HEAD)"; else echo "dev"; fi)
hooksie1/cmsnr:$(if git rev-parse --is-inside-work-tree >/dev/null 2>&1; then git describe --exact-match --tags HEAD 2>/dev/null || echo "dev-$(git rev-parse --short HEAD)"; else echo "dev"; fi)
hooksie1/cmsnr:${{ github.sha }}

0 comments on commit 1eea9ef

Please sign in to comment.