Skip to content

Commit

Permalink
fix_version
Browse files Browse the repository at this point in the history
  • Loading branch information
dacorvo committed Feb 6, 2024
1 parent dcbdbb3 commit 80a29b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ clean:

rwildcard=$(wildcard $1) $(foreach d,$1,$(call rwildcard,$(addsuffix /$(notdir $d),$(wildcard $(dir $d)*))))

VERSION := $(shell python -W ignore -c "from optimum.neuron.version import __version__; print(__version__)")
VERSION := $(shell gawk 'match($$0, /__version__ = "(.*)"/, a) {print a[1]}' optimum/neuron/version.py)

PACKAGE_DIST = dist/optimum-neuron-$(VERSION).tar.gz
PACKAGE_WHEEL = dist/optimum_neuron-$(VERSION)-py3-none-any.whl
Expand Down

0 comments on commit 80a29b5

Please sign in to comment.