Skip to content

Commit f0d33c1

Browse files
chore: add makefile target to bump syft (#620)
Signed-off-by: Will Murphy <willmurphyscode@users.noreply.github.com>
1 parent 5230ccd commit f0d33c1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.PHONY: update-syft-release
2+
update-syft-release:
3+
@LATEST_VERSION=$$(gh release view --json name -q '.name' -R anchore/syft) && \
4+
echo "export const VERSION = \"$$LATEST_VERSION\";" > src/SyftVersion.ts && \
5+
npm ci

0 commit comments

Comments
 (0)