Skip to content

Commit

Permalink
build: hardcode snapshot for clean git-desc
Browse files Browse the repository at this point in the history
  • Loading branch information
dustingetz committed Dec 11, 2024
1 parent 5b34912 commit 6a8b536
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src-build/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@
git tag v3-alpha # manually set a new tag, or skip to use commit distance from current tag
clojure -T:build clean
#clj -A:dev -T user/release -- distribute sources, lib consumer will build
HYPERFIDDLE_ELECTRIC_BUILD=`git describe --tags --abbrev=0`-SNAPSHOT # for overwritable maven artifacts
# HYPERFIDDLE_ELECTRIC_BUILD=`git describe --tags --long --always --dirty` # for definitive, immutable releases
# HYPERFIDDLE_ELECTRIC_BUILD=`git describe --tags --abbrev=0`-SNAPSHOT # for overwritable maven artifacts
HYPERFIDDLE_ELECTRIC_BUILD="v3-alpha-SNAPSHOT"
echo $HYPERFIDDLE_ELECTRIC_BUILD
clojure -T:build jar :version '"'$HYPERFIDDLE_ELECTRIC_BUILD'"'
clojure -T:build install :version '"'$HYPERFIDDLE_ELECTRIC_BUILD'"'
# To test in electric-starter-app:
Expand Down

0 comments on commit 6a8b536

Please sign in to comment.