Skip to content

Commit

Permalink
Releases
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefuertes committed Oct 30, 2024
1 parent 6c33e9c commit 04d7338
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.PHONY: build
VERSION=v1.0.0
VERSION=$$(git describe --tags --abbrev=0)
SOURCE_FILE := main.go
BUILD_DIR := build
RELEASE_DIR := release
Expand Down Expand Up @@ -96,3 +96,10 @@ release: clean lint test
done; \
done
@ls -sSFhC1 release

release-push:
@for crunched_name in $$(ls -sSFhC1 release); do \
echo "Pushing $$crunched_name"; \
gh release upload $VERSION $$crunched_name; \
done
@echo "Released"

0 comments on commit 04d7338

Please sign in to comment.