Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
prozorro-sale
Prozorro metrics
Commits
5908de0c
Commit
5908de0c
authored
Mar 22, 2021
by
Pavel Kuzmenko
Browse files
fix:
#4
add build python post version in master branch
parent
5d263a7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
5908de0c
CI_COMMIT_BRANCH
?=
'master'
ifeq
($(CI_COMMIT_BRANCH), 'master')
EGG_INFO
=
egg_info
--tag-date
else
EGG_INFO
=
endif
version
:
$(
eval
GIT_TAG ?
=
$(
shell
git describe
--abbrev
=
0
))
$(
eval
VERSION ?
=
$(
shell
read
-p
"Version: "
VERSION
;
echo
$$
VERSION
))
...
...
@@ -6,7 +14,7 @@ version:
git tag
-a
-e
-F
Changelog-
$(VERSION)
.txt
$(VERSION)
build-wheel
:
python3 setup.py sdist bdist_wheel
@
python3 setup.py
$(EGG_INFO)
sdist bdist_wheel
publish-wheel
:
twine upload dist/
*
@
twine upload dist/
*
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment