Skip to content

Commit b2b4602

Browse files
committed
Test
1 parent 3d1feb2 commit b2b4602

File tree

5 files changed

+38
-22
lines changed

5 files changed

+38
-22
lines changed

.github/workflows/post_release_version_bump.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,3 +118,27 @@ jobs:
118118
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice." \
119119
--head prepare-main-for-next-dev-cycle-${VERSION} \
120120
--base main
121+
122+
https://github.com/aws-observability/aws-otel-java-instrumentation/releases/download/v1.32.5/aws-opentelemetry-agent.jar
123+
124+
- name: Get SHA256 checksum of wheel file
125+
id: get_sha256
126+
env:
127+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
128+
run: |
129+
checksum=$(shasum -a 256 dist/aws_opentelemetry_distro-${{ github.event.inputs.version }}-py3-none-any.whl | awk '{ print $1 }')
130+
echo "CHECKSUM=$checksum" >> $GITHUB_OUTPUT
131+
132+
- name: Append checksum and update version
133+
env:
134+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
135+
run: |
136+
echo "aws_opentelemetry_distro-${{ github.event.inputs.version }}-py3-none-any.whl ${{ steps.get_sha256.outputs.CHECKSUM }}" >> checksum.txt
137+
echo "${{ github.event.inputs.version }}" > version.txt
138+
139+
git config --local user.email "github-actions[bot]@users.noreply.github.com"
140+
git config --local user.name "GitHub Action Release Workflow"
141+
git add checksum.txt version.txt
142+
git commit -m "Update latest version and append checksum"
143+
git push
144+

.github/workflows/release_build.yml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -131,28 +131,6 @@ jobs:
131131
--draft \
132132
"v${{ github.event.inputs.version }}" \
133133
dist/aws_opentelemetry_distro-${{ github.event.inputs.version }}-py3-none-any.whl
134-
135-
- name: Get SHA256 checksum of wheel file
136-
id: get_sha256
137-
env:
138-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
139-
run: |
140-
checksum=$(shasum -a 256 dist/aws_opentelemetry_distro-${{ github.event.inputs.version }}-py3-none-any.whl | awk '{ print $1 }')
141-
echo "CHECKSUM=$checksum" >> $GITHUB_OUTPUT
142-
143-
- name: Append checksum and update version
144-
env:
145-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
146-
run: |
147-
echo "aws_opentelemetry_distro-${{ github.event.inputs.version }}-py3-none-any.whl ${{ steps.get_sha256.outputs.CHECKSUM }}" >> checksum.txt
148-
echo "${{ github.event.inputs.version }}" > version.txt
149-
150-
git config --local user.email "github-actions[bot]@users.noreply.github.com"
151-
git config --local user.name "GitHub Action Release Workflow"
152-
git add checksum.txt version.txt
153-
git commit -m "Update latest version and append checksum"
154-
git push
155-
156134
157135
158136

checksum.txt

Whitespace-only changes.

release-build-metadata.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"release": [
3+
{
4+
"version": "0.7.0",
5+
"checksum": [
6+
{
7+
"name": "aws_opentelemetry_distro-0.7.0-py3-none-any.whl",
8+
"checksum": "8cf682fa56bc00326a741acf480024550017beda41acb1b51af9d3b5ef1a9470"
9+
}
10+
]
11+
}
12+
]
13+
}
14+

version.txt

Whitespace-only changes.

0 commit comments

Comments
 (0)