Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use 'git describe' as LING_VER value #43

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Config.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
LING_VER := 0.3.2
LING_VER := $(shell git describe --abbrev=4 --dirty --always --tags)
OTP_VER := 17
ifeq ($(shell uname),Darwin)
CROSS := 1
Expand Down
2 changes: 1 addition & 1 deletion railing/railing.erl
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ main(Args) ->

case lists:member(version, Opts) of
true ->
io:format("LING v~s\n", [?LING_VER]),
io:format("LING ~s\n", [?LING_VER]),
halt();
_ ->
ok
Expand Down