Skip to content

Commit

Permalink
Count commits correctly for deployment (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmacdonald authored Aug 30, 2024
1 parent daf7e04 commit 5920218
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.x
1.0.x
2 changes: 1 addition & 1 deletion build.clj
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
(parse-long (sh "git" "rev-list" "--count" (str last-sha "..HEAD")))))

(defn commit-number []
(if (= "master" (sh "git" "rev-parse" "--abbrev-ref" "HEAD"))
(if (= "main" (sh "git" "rev-parse" "--abbrev-ref" "HEAD"))
(commits-since-version-changed)
"9999-SNAPSHOT"))

Expand Down

0 comments on commit 5920218

Please sign in to comment.