File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change 55 version :
66 description : The version to tag the release with, e.g., 1.2.0
77 required : true
8+ push :
89
910env :
1011 AWS_DEFAULT_REGION : us-east-1
@@ -120,6 +121,14 @@ jobs:
120121 tags : |
121122 ${{ env.RELEASE_PRIVATE_REPOSITORY }}:v${{ github.event.inputs.version }}
122123
124+ - name : Get SHA256 checksum of wheel file
125+ id : get_sha256
126+ env :
127+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
128+ run : |
129+ filename="aws_opentelemetry_distro-${{ github.event.inputs.version }}-py3-none-any.whl"
130+ shasum -a 256 dist/$filename | awk '{print $1}' > $filename.sha256
131+
123132 # Publish to GitHub releases
124133 - name : Create GH release
125134 id : create_release
@@ -130,4 +139,11 @@ jobs:
130139 --title "Release v${{ github.event.inputs.version }}" \
131140 --draft \
132141 "v${{ github.event.inputs.version }}" \
133- dist/aws_opentelemetry_distro-${{ github.event.inputs.version }}-py3-none-any.whl
142+ dist/aws_opentelemetry_distro-${{ github.event.inputs.version }}-py3-none-any.whl \
143+ aws_opentelemetry_distro-${{ github.event.inputs.version }}-py3-none-any.whl.sha256
144+
145+
146+
147+
148+
149+
You can’t perform that action at this time.
0 commit comments