Skip to content

Commit 1dee6ce

Browse files
authored
Grab current version fix (#259)
1 parent a5547ac commit 1dee6ce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ generateCheckoutTest: build/spec $(openapi-generator-jar)
9292
## Releases
9393

9494
version:
95-
perl -lne 'print "currentVersion=$$1" if /version=''(.+)'',/' < setup.py >> "$$GITHUB_OUTPUT"
95+
grep version= setup.py | tr -d \', | awk -F '=' '{ printf "currentVersion=%s\n", $$2 }' >> "$$GITHUB_OUTPUT"
9696

9797
bump:
9898
perl -i -pe 's/$$ENV{"CURRENT_VERSION"}/$$ENV{"NEXT_VERSION"}/' setup.py Adyen/settings.py

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[bdist_wheel]
22

33
[metadata]
4-
description-file = README.md
4+
description_file = README.md
55

66
[egg_info]
77
tag_build =

0 commit comments

Comments
 (0)