Skip to content

Commit

Permalink
Fix Makefile shell syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
grgar committed Mar 29, 2024
1 parent 26d7c49 commit 8f9fe4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.SUFFIXES:
version = $(shell git describe | tr "-" "." | awk -F. -vOFS=. '{if (NF>3) {NF=3; $NF++;} print}' | cut -c 2-)
version = $(shell git describe | tr "-" "." | awk -F. -vOFS=. '{if (NF>3) {NF=3; $$NF++;} print}' | cut -c 2-)
file = dotfiles-${version}.vsix
vsce-flags =

Expand All @@ -19,4 +19,4 @@ CHANGELOG.md: .git/refs/heads/main
${file}: CHANGELOG.md .git/refs/tags/v${version}
npx vsce package ${vsce-flags} ${version}
npx vsce publish -i ${file} ${vsce-flags}
git log --oneline --decorate-refs='tags/*' --format="- %w(0,0,2)%B" (git describe --tags --abbrev=0 @^)... | gh release create v${version} --notes-file - ${file}
git log --oneline --decorate-refs='tags/*' --format="- %w(0,0,2)%B" $(shell git describe --tags --abbrev=0 @^)... | gh release create v${version} --notes-file - ${file}

0 comments on commit 8f9fe4f

Please sign in to comment.