Skip to content

Commit e6a783a

Browse files
pulpbotipanova
authored andcommitted
Update CI files
[noissue]
1 parent 3d67cc1 commit e6a783a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/template_gitref

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2021.08.26-189-g6371f34
1+
2021.08.26-190-ge8465b5

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: Install python dependencies
4444
run: |
4545
echo ::group::PYDEPS
46-
pip install bandersnatch bump2version gitpython python-redmine towncrier==19.9.0 wheel
46+
pip install packaging~=21.3 bandersnatch bump2version gitpython python-redmine towncrier==19.9.0 wheel
4747
echo ::endgroup::
4848
4949
- name: Configure Git with pulpbot name and email
@@ -294,7 +294,7 @@ jobs:
294294
- name: Install python dependencies
295295
run: |
296296
echo ::group::PYDEPS
297-
pip install gitpython python-redmine requests packaging tweepy
297+
pip install gitpython python-redmine requests packaging~=21.3 tweepy
298298
echo ::endgroup::
299299
300300
- name: Push branch and tag to GitHub

.github/workflows/scripts/release.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ def create_tag_and_build_package(repo, desired_tag, commit_sha, plugin_path):
122122
tag = existing_tag
123123
else:
124124
raise RuntimeError(
125-
"The '{desired_tag}' tag already exists, but the commit sha does not match "
126-
"'{commit_sha}'."
125+
f"The '{desired_tag}' tag already exists, but the commit sha does not match "
126+
f"'{commit_sha}'."
127127
)
128128

129129
# Create a tag if one does not exist
@@ -138,7 +138,7 @@ def create_tag_and_build_package(repo, desired_tag, commit_sha, plugin_path):
138138
loop = asyncio.get_event_loop() # noqa
139139
# fmt: off
140140
package_found = asyncio.run(
141-
get_package_from_pypi("pulpcore=={tag.name}", plugin_path)
141+
get_package_from_pypi(f"pulpcore=={tag.name}", plugin_path)
142142
) # noqa
143143
# fmt: on
144144
if not package_found:

0 commit comments

Comments
 (0)