File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -53,12 +53,18 @@ jobs:
53
53
artifact_name : ${{ steps.seal_source_code.outputs.artifact_name }}
54
54
RELEASE_VERSION : ${{ steps.release_version.outputs.RELEASE_VERSION }}
55
55
steps :
56
+ # NOTE: Different from prod release, we need both poetry and source code available in earlier steps to bump and verify.
57
+
56
58
# We use a pinned version of Poetry to be certain it won't modify source code before we create a hash
57
59
- name : Install poetry
58
60
run : |
59
61
pipx install git+https://github.com/python-poetry/poetry@68b88e5390720a3dd84f02940ec5200bfce39ac6 # v1.5.0
60
62
pipx inject poetry git+https://github.com/monim67/poetry-bumpversion@315fe3324a699fa12ec20e202eb7375d4327d1c4 # v0.3.1
61
63
64
+ - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
65
+ with :
66
+ ref : ${{ env.RELEASE_COMMIT }}
67
+
62
68
- name : Export release version
63
69
id : release_version
64
70
run : |
77
83
env :
78
84
RELEASE_VERSION : ${{ steps.release_version.outputs.RELEASE_VERSION}}
79
85
80
- - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
81
- with :
82
- ref : ${{ env.RELEASE_COMMIT }}
83
-
84
86
- name : Bump package version
85
87
id : versioning
86
88
run : poetry version "${RELEASE_VERSION}"
You can’t perform that action at this time.
0 commit comments