8000 Scheduled rolling workflows by asenyaev · Pull Request #699 · opencv/opencv-python · GitHub
[go: up one dir, main page]

Skip to content
8000

Scheduled rolling workflows #699

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

Merged
merged 3 commits into from
Aug 3, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Fixed a bug in commit/date for package version
  • Loading branch information
asenyaev committed Aug 2, 2022
commit 31c3108be71cfd3f1dda00e28acfd230d67c62c3
2 changes: 1 addition & 1 deletion .github/workflows/build_wheels_windows.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Windows x86/x64
name: Windows x86_x64

on:
pull_request:
Expand Down
7 changes: 4 additions & 3 deletions find_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,15 @@
# tag identifies the build and should be a sequential revision number
version = tag[0]
opencv_version += ".{}".format(version)
elif rolling:
# rolling has converted into string using get_and_set_info() function in setup.py
elif rolling == "True":
# rolling version identifier, will be published in a dedicated rolling PyPI repository
version = date.today().strftime('%Y%m%d')
opencv_version += "+{}".format(version)
opencv_version += ".{}".format(version)
else:
# local version identifier, not to be published on PyPI
version = git_hash
opencv_version += "+{}".format(version)
opencv_version += ".{}".format(version)

with open("cv2/version.py", "w") as f:
f.write('opencv_version = "{}"\n'.format(opencv_version))
Expand Down
0